Skip to content

Instantly share code, notes, and snippets.

@stanislaw
Last active October 8, 2015 08:34
Show Gist options
  • Save stanislaw/7e0c9c35d94f673a5576 to your computer and use it in GitHub Desktop.
Save stanislaw/7e0c9c35d94f673a5576 to your computer and use it in GitHub Desktop.
/// DO CHANGE
///
self = [super init];
if (self == nil) {
return nil;
}
///
self = [super init];
if (self == nil) return nil;
///
self = [super init];
if (self) {
self.bla = nil;
}
///
if (self = [super init]) {
self.bla = nil;
}
// DO NOT CHANGE
///
self = [super init];
if (self) {
_bla = nil;
}
///
if (self = [super init]) {
_bla = nil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment