Skip to content

Instantly share code, notes, and snippets.

@pieteromvlee
Created November 13, 2012 16:36
Show Gist options
  • Save pieteromvlee/4066820 to your computer and use it in GitHub Desktop.
Save pieteromvlee/4066820 to your computer and use it in GitHub Desktop.
Always Initialize your Local Primitives
- (BOOL)performSomeKindOfTest {
BOOL testResult;
//more code
if (....) {
//more code
testResult = YES;
}
return testResult;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment