• 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: Mapkit annotation arrays and writing to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Mapkit annotation arrays and writing to a file (From: Alex Zavatone <email@hidden>)
 >Re: Mapkit annotation arrays and writing to a file (From: Jens Alfke <email@hidden>)
 >Re: Mapkit annotation arrays and writing to a file (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Mapkit annotation arrays and writing to a file
  • Next by Date: Should I pixel align in a View subclass in method -initWithFrame:frame?
  • Previous by thread: Re: Mapkit annotation arrays and writing to a file
  • Next by thread: Should I pixel align in a View subclass in method -initWithFrame:frame?
  • Index(es):
    • Date
    • Thread