2010-04-01

在 Blogger 使用SyntxHighlighter

http://itouchs.blogspot.com/2011/11/blogspot-objective-c-syntax.html

http://scottdensmore.typepad.com/blog/2011/04/objective-c-syntax-highlighter-reboot.html

https://github.com/scottdensmore/ObjectiveCSyntaxHighlighter




- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

// Override point for customization after application launch.

// Converting RGBA color for use with UIColor
UIColor *colorFromRgba = [UIColor colorWithRed:23/255.0f green:45/255.0f blue:145/255.0f alpha:1];
NSLog(@"converted rgba color is: %@", colorFromRgba);

[self.window makeKeyAndVisible];

return YES;
}