Skip to content

Instantly share code, notes, and snippets.

@jspahrsummers
Created April 29, 2011 04:29
Show Gist options
  • Save jspahrsummers/947838 to your computer and use it in GitHub Desktop.
Save jspahrsummers/947838 to your computer and use it in GitHub Desktop.
Clang ivar write source code
@synthesize window=_window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
asm("#before");
_window = nil;
asm("#after");
// Override point for customization after application launch.
[self.window makeKeyAndVisible];
return YES;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment