• 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: NSCalendar dateByAddingYears
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: NSCalendar dateByAddingYears
  • Next by Date: Re: NSTask autorelease OR retain/release -> SIGBUS
  • Previous by thread: NSCalendar dateByAddingYears
  • Next by thread: NSScanner stoopid question
  • Index(es):
    • Date
    • Thread