Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 1.1 KB

meetup-notes.md

File metadata and controls

43 lines (23 loc) · 1.1 KB

Different ways to save date

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

Core Data

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)

Questions

What is a "context"?

What is a singleton?

When to make things private.

What is static?

NB

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 from Oh-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