• 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
Moving Properties to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving Properties to


  • Subject: Moving Properties to
  • From: Kevin Bracey <email@hidden>
  • Date: Mon, 8 Nov 2010 11:00:35 +1300

Hi all,

I may have painted myself into a corner with this one. To facilitate exporting my model objects as xml, I have my object properties stored in a NSDictionary, this makes for an easy export, both as plist and xml, I just walk the dictionary adding nodes. I have to maintain a lot of setters and getters and would like to @synthesize these, and do away with the NSDictionary.

Is there any way to change my exportAsXML message to examine self to get a list of the @synthesize properties? Then loop through those and get there values?

Cheers
Kevin_______________________________________________

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: Moving Properties to
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Ping host and port
  • Next by Date: Re: Ping host and port
  • Previous by thread: RE: Ping host and port
  • Next by thread: Re: Moving Properties to
  • Index(es):
    • Date
    • Thread