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 protected])

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]

Reply via email to