Talk at the CocoaHeadsNL 20150820
Core Data, a comparison to some competitors, some details about concurrency and their implications on todays applications, and some concerns about the future.
Realm: Pros & Cons
★ Born mobile
★ Models in code(PK)
★ Built in encryption
★ Multi-thread &
Multi-process
★ Good performance
★ No delete rules
★ No fine grained
notifications (KVO)
★ No null properties
★ No sync solutions
Android Content
★ Content providers
• Abstract data sources
• Access to data via URI (REST style)
• It can be exported to other apps
• Thread safety via synchronized (or multi-
instance)
★ Content resolver to map authorities to providers
UIManagedDocument
★ Uses the model in the bundle
★ Async I/O
★ Completion blocks after opening or saving
★ Parent is in background and autosaves
★ Also additional data
Threats
★ Swift
• Introspection is still half baked (@NSManaged)
• Many features of Cocoa depend on the runtime
★ Lack of multi-process capabilities
★ Apple generated doubts:
• Photos using
• Removed from Lister?