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 PROTECTED]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]