Moving Properties to
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