Re: Mapkit annotation arrays and writing to a file
Re: Mapkit annotation arrays and writing to a file
- Subject: Re: Mapkit annotation arrays and writing to a file
- From: Conrad Shultz <email@hidden>
- Date: Tue, 08 May 2012 14:59:44 -0700
On 5/8/12 2:35 PM, Alex Zavatone wrote:
Or, more straightforward than my NSValueTransformer suggestion (which is
I suppose of diminished value, no pun intended, in this scenario), you
could just add methods to your annotation object (via category if you
don't control the object itself), like:
- (id)initWithJSONSerializableRepresentation:(NSDictionary *)aDictionary;
- (NSDictionary *)JSONSerializableRepresentation;
that would convert to/from a serializable object.
--
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________
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