Persistence
Archiving and plists
Legacy code saves model objects to a file with NSKeyedArchiver, and on recent OS versions unarchiving started warning and crashing. What's the difference between NSCoding and NSSecureCoding?
Archiving and plists
Legacy code saves model objects to a file with NSKeyedArchiver, and on recent OS versions unarchiving started warning and crashing. What's the difference between NSCoding and NSSecureCoding?
PersistenceShort answerBasics
In the Objective-C days, YYModel and MJExtension turned JSON into models and even handled…
#nssecurecoding #codable
PersistenceShort answerIntro
A teammate's PR stores the access token, the profile image Data, and an array of 5,000 re…
#plist
NetworkingShort answerIntro
The server responds with something like {"user_id": 3, "created_at": "2026-09-11T02:00:00…
#codable
NetworkingShort answerBasics
You're decoding responses into the model below with Codable, but the server includes the …
#codable