Top "Nsuserdefaults" questions

NSUserDefaults is the Objective-C API for storing and retrieving user preferences in Apple's Foundation framework for Cocoa and Cocoa Touch.

iOS: How to store username/password within an app?

I have a login-screen in my iOS app. The username and password will be saved in the NSUserDefaults and be …

ios nsuserdefaults keychain
Save string to the NSUserDefaults?

How to save a string into the NSUserDefaults?

ios cocoa-touch nsuserdefaults
How to save local data in a Swift app?

I'm currently working on a iOS app developed in Swift and I need to store some user-created content on the …

ios swift nsuserdefaults
Attempt to set a non-property-list object as an NSUserDefaults

I thought I knew what was causing this error, but I can't seem to figure out what I did wrong. …

ios objective-c encoding nsuserdefaults
How can I use UserDefaults in Swift?

How can I use UserDefaults to save/retrieve strings, booleans and other data in Swift?

ios swift nsuserdefaults userdefaults
How to store custom objects in NSUserDefaults

Alright, so I've been doing some poking around, and I realize my problem, but I don't know how to fix …

ios objective-c iphone encoding nsuserdefaults
Clearing NSUserDefaults

I'm using +[NSUserDefaults standardUserDefaults] to store application settings. This consists of roughly a dozen string values. Is it possible to …

ios objective-c cocoa-touch nsuserdefaults
NSUserDefaults - How to tell if a key exists

I'm working on a small iPhone app, and I am using NSUserDefaults as my data persistence. It only has to …

ios objective-c iphone nsuserdefaults
how to save and read array of array in NSUserdefaults in swift?

I need create an array to add objects with this format like a dictionary in Swift : ["key1": "value1", "key2": "value2"] …

swift nsuserdefaults xcode6
Easy way to see saved NSUserDefaults?

Is there a way to see what's been saved to NSUserDefaults directly? I'd like to see if my data saved …

ios objective-c macos nsuserdefaults