• 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: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'


  • Subject: Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 26 Mar 2010 13:03:18 -0700

On Mar 26, 2010, at 01:23, Alec Stewart wrote:

>    date = [NSDate dateWithTimeInterval:hundredthsToAdd
> sinceDate:dateWithoutHundredths]; //This is the line the warning shows up on

The NSDate class reference states that this is available in Mac OS 10.6 or later. Chances are  your project is targeting the 10.5 SDK, in which this method doesn't exist.


_______________________________________________

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: 
 >Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:' (From: Alec Stewart <email@hidden>)

  • Prev by Date: Re: Sending a Cmd-V keystroke
  • Next by Date: Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
  • Previous by thread: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
  • Next by thread: Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
  • Index(es):
    • Date
    • Thread