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

NSCalendar dateByAddingYears


  • Subject: NSCalendar dateByAddingYears
  • From: email@hidden
  • Date: Fri, 04 Apr 2003 14:07:29 -0800 (PST)

Here is a wierd one:
I have the following:

NSCalendarDate* launchDate = [[scheduledEvent startDate] retain];
NSCalendarDate *adjDate;


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?

thanks

Z

__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com
_______________________________________________
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: Re: Setting NSImageView Tag problem
  • Next by Date: Re: NSCalendar dateByAddingYears
  • Previous by thread: Re: Setting NSImageView Tag problem
  • Next by thread: Re: NSCalendar dateByAddingYears
  • Index(es):
    • Date
    • Thread