On Mon, Jul 21, 2008 at 5:50 PM, Lee, Frederick <[EMAIL PROTECTED]> wrote: > Simple need: to store NSString values (UserName, PW) in a Dictionary > format within my application's .plist. > > I've read Apple's Cocoa literature and found that .plist's LSEnvironment > is the way to go. > > Using the .plist editor to add LSEnvironment dictionary and member keys > is straight forward. > > But I'm having trouble figuring out how to programmatically > update/retrieve these values.
You cannot guarantee that the user of your application will have write access to your bundle. Why are you trying to store them within your application rather than using, for example, NSUserDefaults? It doesn't sound like LSEnvironment is what you want at all. -- Finlay _______________________________________________ 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]
