Closed williamhqs closed 7 years ago
I saw seems all places the properties was inited by the keyword self which wasn't recommended by Apple.
self
For example:
- (id)init { self = [super init]; if (self) { self.walletService = [[Xxx alloc] initWithPresenter:nil]; } return self; }
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html http://qualitycoding.org/objective-c-init/ https://stackoverflow.com/a/8056260/291240
I saw seems all places the properties was inited by the keyword
self
which wasn't recommended by Apple.For example:
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html http://qualitycoding.org/objective-c-init/ https://stackoverflow.com/a/8056260/291240