Traps
Development is hard. Therefore Xcode is hard, both because it has to do a lot, and because any application that has to do a lot is subject to bugs and annoyances. Here are a few things to watch out for.
When you remove an IBOutlet
from your source, llvm
reacts immediately, flagging errors and warnings on all references in your project—except for outlet connections in your XIBs and storyboards. You won’t hear of it until the NIB loader starts throwing exceptions that say the target object “is not key-value coding compliant” for the missing outlet name. As soon as you change an outlet (or an IBAction
), audit the related objects in Interface ...
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.