Re: NSCaledarDate's deprecation
Re: NSCaledarDate's deprecation
- Subject: Re: NSCaledarDate's deprecation
- From: Keith Duncan <email@hidden>
- Date: Fri, 23 Jan 2009 22:39:31 +0000
since NSCalendarDate is a subclass of NSDate, using an
NSCalendarDate method on an NSDate object is perfectly legal at
compile time
This should raise a compiler warning.
What you mean is that calling an NSDate method on an instance of
NSCalendarDate is perfectly legal; however calling a method declared
in a subclass, on an object strongly typed as it's superclass is not
legal.
Keith
_______________________________________________
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