This pod helps to store and load easily custom objects with NSUserDefaults
platform :ios, '8.0'
pod "NSUserDefaults+Helper"
Store in NSUserDefaults
NSString *string = @"test";
[NSUserDefaults saveCustomObject:string key:@"example"];
Load from NSUserDefaults
NSString *stringLoaded = (NSString *)[NSUserDefaults loadCustomObjectWithKey:@"example"];