Skip to Main Content
Xcode 5 Start to Finish: iOS and OS X Development
book

Xcode 5 Start to Finish: iOS and OS X Development

by Fritz Anderson
May 2014
Intermediate to advanced content levelIntermediate to advanced
624 pages
19h 43m
English
Addison-Wesley Professional
Content preview from Xcode 5 Start to Finish: iOS and OS X Development

Another Bug

By now you know that when I say something like “if all has gone well,” the app will crash. And so it has: The Debug navigator shows a trace back through an exception handler, and the console says

Terminating app due to uncaught exception 'NSInvalidArgumentException',    reason: '*** -[NSDictionary initWithObjects:forKeys:]:            count of objects (1) differs from count of keys (12)'

followed by a stack trace that last touched your code at -[SimpleCSVFile run:error:]. It would be nice to see what was going on in run:error:, but after the app ran through the exception handler, that information was lost. It would be nice if it weren’t.

Note

An exception is a signal by program code—your own or in the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Xcode 6 Start to Finish: iOS and OS X Development, Second Edition

Xcode 6 Start to Finish: iOS and OS X Development, Second Edition

Fritz Anderson
Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Stefan Kaczmarek, Brad Lees, Gary Bennett, Mitch Fisher

Publisher Resources

ISBN: 9780133751031Purchase book