• 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: How to debug a corrupted stack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug a corrupted stack


  • Subject: Re: How to debug a corrupted stack
  • From: Brian Stern <email@hidden>
  • Date: Thu, 7 Aug 2008 23:38:05 -0400


On Aug 7, 2008, at 9:49 PM, Gerriet M. Denkmann wrote:

Or does anyone have a better idea?


Define your own struct or Objective-C class that has the same members as UTCDateTime. Copy the values from a UTCDateTime to your struct or class. Encode/Decode your struct or class from NSValue. With a few utility routines to handle this for you this should be simple and safe.


Or:

Use NSData, add a category to NSData containing: dataWithUTCDateTime:, add the appropriate accesor for UTCDateTime and/or for the members of UTCDateTime.

--
Brian Stern
email@hidden



_______________________________________________

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


References: 
 >Re: How to debug a corrupted stack (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: how to have a pop up menu from an ordinary button?
  • Next by Date: Re: Bindings to display an NSArray of NSStrings as a single NSString?
  • Previous by thread: Re: How to debug a corrupted stack
  • Next by thread: NSDocument opening folders
  • Index(es):
    • Date
    • Thread