• 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: NSCalendarDate formatting error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCalendarDate formatting error


  • Subject: Re: NSCalendarDate formatting error
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 23 Mar 2002 05:35:49 -0500

on 02-03-22 9:45 PM, Ben Mackin at email@hidden wrote:

> I am trying to make NSCalendarDate formatted how I want. However the
> following two lines will crash my app (it just quits as soon as it hits
> them). I cant seem to see what is wrong, please let me know where I made the
> mistake.
>
> [currentDate setCalendarFormat:@"%A-%I:%M"];
> currentDate = [NSCalendarDate calendarDate];

Don't you have those in the wrong order?

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >NSCalendarDate formatting error (From: Ben Mackin <email@hidden>)

  • Prev by Date: Rép : Cocoa's Popularity
  • Next by Date: Re: Cocoa's Popularity
  • Previous by thread: NSCalendarDate formatting error
  • Next by thread: Re: Cocoa's Popularity
  • Index(es):
    • Date
    • Thread