DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Objective-C Crash Function
// Call this function to crash an Objective-C application
-(void)crash {
NSArray *arr = [[NSArray alloc] initWithObjects:@"Crash LOL", nil];
[arr objectAtIndex:3];





