Persistência Básica com Repository em Swift.
Alguns links para estudo mais prolongado sobre o assunto:
Apple Getting Started with Persistence
iOS Data Storage Guidelines - Apple Developer
iOS storage best practices - Vikash Anand - Medium
App Sandboxing - Apple Developer
Archives and Serialization | Apple Developer Documentation
Encoding and Decoding Custom Types | Apple Developer Documentation
FileManager - Foundation | Apple Developer Documentation
Accessing Files and Directories
Repository Design Pattern in Swift - Frederik Jacques - Medium
Introducing repository pattern with swift. · GitHub
Mocking the File System to Improve Testability (with JustMoc
Faster & more robust tests with Xcode 10 | Swift by Sundell
Mock-free unit tests in Swift | Swift by Sundell
Mocking for tests in iOS development
Avoiding mocking UserDefaults | Swift by Sundell
How to Test Using Fake Data on iOS - Swift2Go - Medium
Keychain Services | Apple Developer Documentation
Keychains | Apple Developer Documentation
Basic iOS Security: Keychain and Hashing | raywenderlich.com
How To Secure iOS User Data: The Keychain and Biometrics – Face ID or Touch ID | raywenderlich.com
Keychain Services API Tutorial for Passwords in Swift | raywenderlich.com
Storing CryptoKit Keys in the Keychain | Apple Developer Documentation
Storing Keys in the Keychain | Apple Developer Documentation
Adding a Password to the Keychain | Apple Developer Documentation
Storing Keys in the Secure Enclave | Apple Developer Documentation
Restricting Keychain Item Accessibility | Apple Developer Documentation
Security | Apple Developer Documentation
Encryption and Data Protection overview - Suporte da Apple
MOBILE API SECURITY TECHNIQUES PART 1