Last active
August 29, 2015 13:56
-
-
Save billymeltdown/9161656 to your computer and use it in GitHub Desktop.
Coding Styles
This file contains 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
- (IBAction)killingMeSoftlyWith:(id)thisSong | |
{ | |
if (self.fugeez) // NEVER do this | |
self.jam = thisSong; | |
self.jam = [self somethingElse]; | |
} |
This file contains 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
- (IBAction)killingMeSoftlyWith:(id)thisSong { | |
if (self.fugeez) { // Always use a brace here, even for the simplest code | |
self.jam = thisSong; | |
} | |
self.jam = [self somethingElse]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment