----- Original Message ----
> From: Mark Thomas <[EMAIL PROTECTED]>
> To: "[email protected]" <[email protected]>
> Sent: Friday, December 5, 2008 1:08:12 AM
> Subject: Override load/save for NSDictionary ?
>
> Hi All,
> Does anybody have any thoughts on how you could subclass or hook into
> NSDictionary/NSMutableDictionary classes, so that I could provide my own
> file format instead of the default file format which are used today (i.e.
> Text or binary plist format). As I still want the flexibility of dictionary
> but I don't want the default file formats.
>
> Ideally it would be good if I could create
> NSDictionary/NSMutableDictionary with a NSData object, but there doesn't
> seem to be a way to pass in the info this way.
Keep in mind that you'll have to handle byte-order conversion if you intend to
support multiple architectures.
Cheers,
Chuck
_______________________________________________
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]