Re: dateWithCalendarFormat: problem
Re: dateWithCalendarFormat: problem
On Fri, Jan 24, 2003 at 09:14:25PM -0500, Jeff LaMarche wrote:
>
Any idea why I would get a "selector not recognized" error when calling
>
dateWithCalendarFormat: on an NSCalendarDate?
>
>
Here's the error message:
>
>
*** -[NSCFDate descriptionWithCalendarFormat:]: selector not recognized
>
>
The NSCalendarDate was created earlier like this:
>
>
NSCalendarDate *date = [NSCalendarDate calendarDate];
>
>
and has not been edited or touched by any code...
The class of a NSCalendarDate should not be NSCFDate. Note:
>
NSDate date class
NSCFDate
>
NSCalendarDate calendarDate class
NSCalendarDate
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.