Skip to content

Instantly share code, notes, and snippets.

@Hokila
Created May 1, 2012 19:25

Revisions

  1. @invalid-email-address Anonymous created this gist May 1, 2012.
    12 changes: 12 additions & 0 deletions gistfile1.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    - (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;
    }