Top "Nskeyedarchiver" questions

NSKeyedArchiver, a concrete subclass of NSCoder, provides a way to encode objects (and scalar values) into an architecture-independent format that can be stored in a file.

How to solve deprecation of unarchiveObject(withFile:)

With iOS 12.1, unarchiveObject(withFile:) was deprecated. How can you convert NSKeyedUnarchiver.unarchiveObject(withFile: String) to use a call to NSKeyedUnarchiver.…

ios swift nskeyedarchiver
Writing and reading custom object to file IOS

i have this object. @interface SeccionItem : NSObject <NSCoding> { NSString * title; NSString * texto; NSArray * images; } @property (nonatomic,strong) NSString * …

ios file nskeyedarchiver
NSKeyedArchiver.archivedData does not work in Swift 3 iOS

When try to encode my custom object in iOS swift get this error from Xcode 8.3 unrecognized selector sent to instance 0…

ios swift encode dealloc nskeyedarchiver
NSKeyedArchiver - Unrecognized selector sent to instance error

I'm facing unrecognized selector sent to instance error while using NSKeyedArchiver.archivedData. I was trying to store parse the JSON …

ios swift3 nsuserdefaults nskeyedarchiver