NSCoding is a protocol from Apple Foundation framework.
I'd like to save an NSMutableDictionary object in NSUserDefaults. The key type in NSMutableDictionary is NSString, the value type is …
ios objective-c cocoa-touch nsuserdefaults nscodingI am currently trying to save a custom Swift class to NSUserDefaults. Here is the code from my Playground: import …
swift nsuserdefaults sigabrt nscodingI have a simple object which conforms to the NSCoding protocol. import Foundation class JobCategory: NSObject, NSCoding { var id: Int …
ios swift swift3 nsuserdefaults nscodingI've been searching for an article that explains NSCoding (NSKeyedArchiver...) advantages and disadvantages over use of CoreData (SQLite....). There's a …
ios core-data persistence nscoding data-managementI have a class and inside the class is a (swift) array, based on a global struct. I want to …
ios uiimageview swift nsuserdefaults nscoding