Created
September 14, 2013 00:12
-
-
Save nickfox/6557608 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface AreaViewControllerElement : NSObject | |
@property (nonatomic) NSInteger objectID; | |
@property (nonatomic, copy) NSString *name; | |
@property (nonatomic, copy) NSString *address1; | |
@property (nonatomic, copy) NSString *address2; | |
@property (nonatomic) NSUInteger diversionRate; | |
@property (nonatomic, strong) CLLocation *location; | |
@property (nonatomic) CLLocationDistance distance; | |
@end | |
*********** | |
@interface AreaViewController () <LocationControllerDelegate> | |
@property (nonatomic, strong) CLLocation *myLocation; | |
@property (nonatomic, strong) NSMutableArray *closestLocations; | |
@property (nonatomic, strong) NSMutableArray *mapAnnotations; | |
@property (nonatomic, unsafe_unretained) IBOutlet MKMapView *mapView; | |
@property (nonatomic, unsafe_unretained) IBOutlet UIBarButtonItem *refreshButton; | |
@property (nonatomic, unsafe_unretained) IBOutlet UIBarButtonItem *toggleButton; | |
@property (nonatomic, unsafe_unretained) IBOutlet UIView *loadingView; | |
@property (nonatomic, unsafe_unretained) IBOutlet UIActivityIndicatorView *activityIndicatorView; | |
@property (nonatomic, assign) BOOL locationFound; | |
@property (nonatomic, assign) BOOL mapMoved; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment