UserDefaults
, files (Codable
), SQLite (not great option), Core Data
Core Data:
- a bit old
- OBjective-C --> not Codable
; Core Data "optionals" are not Swift optionals
built around SQLite
a common mistake is to forget to specificy the tpye for NSFetchRequest
generics (this is the same for other parts of Core Data)
What is a "context"?
What is a singleton?
When to make things private.
What is static?
Sourcery - "Meta-programming for Swift, stop writing boilerplate code."
Ask Zev about his Terminal set-up (code completion, next line thing)
- he uses
zsh
and the functionality comes fromOh-my-zsh
- this is somethign I should look into switching to, anyway
SimSim (app on GitHub) to locate file in Xcode simulator
Base - App on Mac AppStore for viewing SQL dbs
Look up mapping on optionals
Core Data Debugging in Xcode using launch arguments
Realm - an alternative to Core Data