Created
May 5, 2016 03:23
-
-
Save nfarah86/2611c36d27c61d441918e157d66c4c49 to your computer and use it in GitHub Desktop.
Initialize an Instance of CLLocationManager
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
// 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