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: 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