• 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: Alec Stewart <email@hidden>
  • Date: Fri, 26 Mar 2010 12:24:39 -1000

Thanks very much!  That took care of the problem.



On Fri, Mar 26, 2010 at 10:12 AM, David Duncan <email@hidden>wrote:

> On Mar 26, 2010, at 1:23 AM, Alec Stewart wrote:
>
> > This compiler warning " 'NSDate' may not respond to
> '+dateWithTimeInterval:sinceDate:' "is driving me up the wall.
>
>
> Quincey already answered why you are likely getting this error, but you can
> use -initWithTimeInterval:sinceDate: with to create an NSDate that you can
> use instead. Just don't forget to release or autorelease the object when
> your done.
> --
> David Duncan
> Apple DTS Animation and Printing
>
>
_______________________________________________

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

  • Prev by Date: Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
  • Next by Date: Re: Sending a Cmd-V keystroke
  • Previous by thread: Re: 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