Post Thumbnail

Yesterday, I was messing around building shared NSLayoutConstraint code to be used across iOS and OS X. I put in a few #if TARGET_OS_MAC directives, assuming they'd just work. They didn't. Turns out that you should always check for TARGET_OS_IPHONE first, before TARGET_OS_MAC because the latt...

2 years ago 0 Comments
December 26, 2012 at 6:00PM