Created
March 11, 2013 13:17
-
-
Save bleft/5134145 to your computer and use it in GitHub Desktop.
switch background color responding to the BOOL loggedIn.
This file contains hidden or 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
self.view.backgroundColor = loggedIn ? [UIColor greenColor] : [UIColor redColor]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment