Re: NSCalendar/NSDate - generating all months/days in a year
Re: NSCalendar/NSDate - generating all months/days in a year
- Subject: Re: NSCalendar/NSDate - generating all months/days in a year
- From: mmalc Crawford <email@hidden>
- Date: Mon, 22 Dec 2008 11:30:56 -0800
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 (email@hidden)
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:
This email sent to email@hidden