Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'
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