8000 Merge pull request #1 from JaviSoto/patch-1 · ThinkCode/In-Stock@d0ebd8a · GitHub
[go: up one dir, main page]

Skip to content

Commit d0ebd8a

Browse files
author
Ahmet Alp Balkan
committed
Merge pull request ahmetb#1 from JaviSoto/patch-1
Declaring variables inside @implementation but without { } makes them extern and global, not ivars
2 parents 2732597 + 21ebe73 commit d0ebd8a

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

InStock/ISAvailabilityViewController.m

Expand all lines: InStock/ISAvailabilityViewController.m
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@
1515
#define kSegueShowBookmarks @"ShowBookmarks"
1616

1717
@implementation ISAvailabilityViewController
18+
{
19+
AFHTTPRequestOperationManager* operationManager;
20+
NSArray* stores;
21+
NSString* lastLoadedSku;
22+
NSString* lastPhoneNumber;
23+
NSUInteger lastStoreIndex;
24+
BOOL backFromAd;
25+
NSDate* lastRefreshStart;
1826

19-
AFHTTPRequestOperationManager* operationManager;
20-
NSArray* stores;
21-
NSString* lastLoadedSku;
22-
NSString* lastPhoneNumber;
23-
NSUInteger lastStoreIndex;
24-
BOOL backFromAd;
25-
NSDate* lastRefreshStart;
26-
27-
CLLocationManager* locationManager;
27+
CLLocationManager* locationManager;
28+
}
2829

2930
-(void)viewDidLoad{
3031
[super viewDidLoad];

0 commit comments

Comments
 (0)
0