On Dec 22, 2008, at 11:20 AM, Ken Tozier wrote:
NSCalendarDate *date = [NSCalendarDate dateWithYear: ...
No!
This is precisely the direction in which not to go:
"Important: Use of NSCalendarDate strongly discouraged. It is not
deprecated yet, however it may be in the next major OS release after
Mac OS X v10.5. For calendrical calculations, you should use suitable
combinations of NSCalendar, NSDate, and NSDateComponents, as described
in Calendars in Date and Time Programming Guide for Cocoa."
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSCalendarDate_Class/Reference/Reference.html
>
mmalc
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com