NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
apple is removing NSKeyedUnarchiveFromData
at some point because it's not secure by default. if you're storing a transformable value using NSKeyedUnarchiveFromData
in coredata, it will then become unreadable.
https://www.kairadiagne.com/2020/01/13/nssecurecoding-and-transformable-properties-in-core-data.html
and https://developer.apple.com/forums/thread/107533
Transformable and NSKeyedUnarchiveFromData
This warning appears because apple will remove it in future release because it's not secure by default. Here is thread on Apple forum.
You should use NSSecureUnarchiveFromData instead of that.
Related Topics
Private Var Is Accessible from Outside the Class
Alamofire: Send JSON with Array of Dictionaries
How to Detect Absent Network Connection When Setting Firestore Document
Why am I Allowed Method Access Less Restrictive Than Class Access
Ambiguous Use of Subscript (Swift 3)
Nstextfield, Change Text in Swift
Swift Protocol and Return Types on Global Functions
Unwrapping Swift Optional Without Variable Reassignment
Working with C Strings in Swift, Or: How to Convert Unsafepointer<Cchar> to Cstring
"Cannot Assign Value of Type 'String' to Type 'Anyobject'", Swift 3, Xcode 8 Beta 6
In Swift, What Does It Mean for Protocol to Inherit from Class Keyword
iOS Facebook Sdk: Login Doesn't Return Email Despite Permissions Granted
Why I Can Change/Reassigned a Constant Value That Instantiated from a Class
Swift 4.0 Mapview Running Slow
Swift Parsing Attribute Name for Given Elementname