Re: NSCalendar dateByAddingYears
Re: NSCalendar dateByAddingYears
- Subject: Re: NSCalendar dateByAddingYears
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 4 Apr 2003 23:31:15 +0100
On Friday, April 4, 2003, at 11:07 pm, email@hidden wrote:
adjDate = [launchDate dateByAddingYears:0 months:0 days:0 hours:1
minutes:0
seconds:0];
it compiles just fine but when I run it i get a selector not recognized
(dateByAddingYears: months: days: hours: minutes: seconds:)
can anyone tell what I'm doing wrong?
are you sure launchDate is an NSCalendarDate and not just an NSDate?
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.