On Dec 10, 2008, at 6:41 PM, Chunk 1978 wrote:
i read in the docs that the use of NSCalandarDate is discouraged because it's going to be depreciated for OS X 10.6... i'm not really sure if depreciated means that any code with NSCalandarDate will no longer function with the new OS or if it will just be considered out dated...
The OP said NSDateComponents, not NSCalendarDate. NSDateComponents will not be deprecated any time soon. And despite what the docs say, I don't think NSCalendarDate is going away soon, because only NSCalendarDate supports encapsulating a time zone within a date.
In any case, if you can avoid using NSCalendar/NSDateComponents to make a calendrical calculation, I'd recommend you do so. NSCalendar is quite slow to make even the most basic of calculations, especially on PPC Macs.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ 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 [EMAIL PROTECTED]