On Apr 9, 2008, at 4:41 PM, Randall Meadows wrote:

[resending with my subscribed address--grrr]

On Apr 9, 2008, at 3:34 PM, Jere Gmail wrote:
I know taht with nsbundle I can obtain the path. But as it is a xml
file, I didn't want to mess with it and I was guessing some class
could handle it easily.

NSMutableDictionary

Read it into a dictionary, change the appropriate key-value pair, write it back out.

You shouldn't design your application such that it requires being able to modify its own bundle in any way, shape or form. In many cases you won't have write permission on it...


Glenn Andreas                      [EMAIL PROTECTED]
 <http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to