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

Mapkit annotation arrays and writing to a file


  • Subject: Mapkit annotation arrays and writing to a file
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 08 May 2012 17:08:08 -0400

I've noticed problems before with structs and NSJSONSerializaion.

I was trying to write out a dictionary (or array) of the contents of mapView.annotations, yet writeDictToFile fails, while it writes a simple dict just fine.

Is there a problem with the structs within the annotations, namely, the CLLocationCoordinate2D struct for each annotation, that prevents this from being able to be written out to a dictionary or array?

Thanks in advance.


_______________________________________________

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

  • Follow-Ups:
    • Re: Mapkit annotation arrays and writing to a file
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: self.myTextField.stringValue = @"" fails
  • Next by Date: Re: self.myTextField.stringValue = @"" fails
  • Previous by thread: Re: self.myTextField.stringValue = @"" fails
  • Next by thread: Re: Mapkit annotation arrays and writing to a file
  • Index(es):
    • Date
    • Thread