May 2014
Intermediate to advanced
624 pages
19h 43m
English
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 ...