Re: Question about laterDate: and earlierDate:
Re: Question about laterDate: and earlierDate:
- Subject: Re: Question about laterDate: and earlierDate:
- From: Paul Bruneau <email@hidden>
- Date: Tue, 16 Oct 2007 11:48:01 -0400
On Oct 16, 2007, at 11:10 AM, Mike Abdullah wrote:
You get basically the same behaviour with NSArray. e.g.
- (NSArray *)objectsAtIndexes:(NSIndexSet *)indexes
It's just not normally an issue since you don't generally care
about getting back a mutable array specifically.
I understand now, thank you.
Well the localization issue is simply that NSCalendarDate only
supports the Gregorian calendar. NSCalendar works by splitting that
localization-specific code out into a separate class so you can
support multiple calendars. One other good reason is that Core Data
will only store NSDates, not NSCalendarDates.
OK I just deleted the word "Calendar" everywhere it appeared in my
code and it runs great so I guess I wasn't that in love with
NSCalendarDate after all. I just had to change one method to a
slightly different one in a few areas. Nearly rhetorically, I ask: Is
it expected that Apple is going to deprecate NSCalendarDate?
Thanks for the nudge. I'm trying to do things the Right Way™_______________________________________________
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