On Mon, 22 Dec 2008 12:01:11 -0800, "mmalc Crawford"
<mmalc_li...@me.com> said:
> 
> On Dec 22, 2008, at 11:48 AM, Kenneth Bruno wrote:
> 
> > Basically, NSCalendarDate gets you pretty much what you need:
> >
> As in a recent message:
> 
> "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
>  

You're correct, I saw that just after I posted my solution.  Of course
similar things can be done with NSCalendar, NSDate, et al.

I didn't see the note in the documentation on my computer so it must be
fairly recent.  I guess I'll have to update my documentation.
_______________________________________________

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

Reply via email to