Skip to content

Instantly share code, notes, and snippets.

@nfarah86
Created May 5, 2016 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nfarah86/2611c36d27c61d441918e157d66c4c49 to your computer and use it in GitHub Desktop.
Save nfarah86/2611c36d27c61d441918e157d66c4c49 to your computer and use it in GitHub Desktop.
Initialize an Instance of CLLocationManager
// omitted code
- (instancetype)init
{
self = [super init]; // inital. self; overrid. init.
if (self) {
_locationManager = [[CLLocationManager alloc]init];
}
return self;
}
// omitted code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment