Funny Apple iOS 6 Exception Message
Posted on September 20, 2012
Clearly Apple has a couple smart asses working there :) This exception was thrown in my code when it failed to parse a string for a date and then tried to create a calendar from nothing.
*** -[__NSCFCalendar components:fromDate:]: date cannot be nil
I mean really, what do you think that operation is supposed to mean with a nil date?
An exception has been avoided for now.
A few of these errors are going to be reported with this complaint, then further violations will simply silently do whatever random thing results from the nil.