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.

Why is NSUserDefaults not saving my values?

Hi I am trying to use NSUserDefaults to save some default values in database. I am able to save the …

iphone nsuserdefaults
UIWebView Load URL with parameters

I have an application that stores the user ID and code in NSUSERDEFAULTS I need to use these values in …

iphone objective-c url uiwebview nsuserdefaults
Is there any limit in storing values in NSUserDefaults?

I am new to iPhone development and objective C. I have used NSUserDefaults to store some values in my app. …

iphone objective-c ios xcode nsuserdefaults
Save Struct to UserDefaults

I have a struct that I want to save to UserDefaults. Here's my struct struct Song { var title: String var …

ios swift struct nsuserdefaults
Where is a Mac Application's NSUserDefaults Data Stored?

I am using NSUserDefaults to store some data in my application. NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults]; [prefs setObject:@"dummy string" forKey:@"…

objective-c macos cocoa plist nsuserdefaults
Android equivalent of NSUserDefaults in iOS

I'd like to save some simple data. On the iPhone, I can do it with NSUserDefaults in Objective-C. What is …

android ios nsuserdefaults code-translation
Attempt to insert non-property value Objective C

Hi l am trying to create a fourates lists from an restaurants Object, my application has a list of different …

ios objective-c nsmutablearray nsuserdefaults property-list
Swift - How to set initial value for NSUserDefaults

I have a switch called soundSwitch, I am saving the state of the button using an user default as such: @…

ios swift nsuserdefaults uiswitch
Should I use NSUserDefaults or a plist to store data?

I will be storing a few strings (maybe 10-20). I am not sure if I should use NSUserDefaults to save …

iphone objective-c cocoa-touch plist nsuserdefaults
NSUserDefaults not cleared after app uninstall on simulator

this may sound real NOOB! I want to check if it's the second time the user enters my application, so …

ios ios-simulator nsuserdefaults ios8 xcode6