• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCaledarDate's deprecation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSCaledarDate's deprecation (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Core Animation
  • Next by Date: Re: sqlite iphone question....
  • Previous by thread: Re: NSCaledarDate's deprecation
  • Next by thread: Re: NSCaledarDate's deprecation
  • Index(es):
    • Date
    • Thread