Hello all,

I’m having trouble understanding the following line on page 61:

NSAssert(theDate == nil, @“Argument must be non-nil”);

Why does the exception get thrown - I thought at this point in the program theDate was not equal to nil (it has a date value in it).

Thanks in advance.


Ahhhh…it pays to read the help file, here’s what it has to say about NSAssert:

Generates an assertion if a given condition is false.

Now it all makes sense.