justin + tips   13

initWithNibName:bundle: Breaks Encapsulation – Ole Begemann
Using init instead of initwithnibname when instantiating a new view controller.
ios  cocoa  tips 
january 2012 by justin
Constant Confusion


The const keyword in C can be confusing, so I wanted to put down my thoughts for my own benefit and for those looking for some clarity. In summary, I'm going to advocate you place const to the right, and read the declaration from right to left.
objective-c  tips  const 
january 2012 by justin
Twitter / @dannygreg: extern NSString *const is ...
Words to live by:

"extern NSString *const is your friend people get those string constants out of the preprocessor."
tips  xcode 
january 2012 by justin

Copy this bookmark:



description:


tags: