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: David Duncan <email@hidden>
- Date: Fri, 26 Mar 2010 13:12:20 -0700
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