Created
December 23, 2011 16:11
-
-
Save solussd/1514590 to your computer and use it in GitHub Desktop.
why does this end in a BAD_ACCESS?
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
@implementation SBAppDelegate { | |
__weak NSNumber *aNumber; | |
NSNumber *anotherNumber; | |
} | |
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { | |
NSNumber *myNumber = [NSNumber numberWithInt:2]; | |
self->anotherNumber = myNumber; | |
self->aNumber = myNumber; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment