Re: nscalendardate with 10.4
Re: nscalendardate with 10.4
- Subject: Re: nscalendardate with 10.4
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 7 Dec 2009 21:56:12 -0700
On Dec 7, 2009, at 5:32 PM, Sissy wrote:
>> how do i adjust dates using nscalendardate which is supposed to work with 10.0 and later without having the use of nsinteger which only works on 10.5 and later.
NSInteger works on all versions of Mac OS X; you just have to define it yourself if you're using an SDK older than the Leopard SDK. All that NSInteger is is an int typedef (long if you built with NS_BUILD_32_LIKE_64). The same goes for NSUInteger.
Also, unless you have a really good reason to use NSCalendarDate, you should probably use NSCalendar instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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