Skip to content

Store data for iOS application. Currently CoreData framework is used

License

Notifications You must be signed in to change notification settings

4d/ios-QMobileDataStore

Repository files navigation

QMobileDataStore

License Platform Language Swift Package Manager Swift Carthage compatible Carthage

This iOS framework belong to iOS SDK and it contains all stuff to initialize and populate the CoreData database.

How it workds

Main class is DataStore.

An instance could be retrieved from the DataStoreFactory

a data store could be

  • loaded
  • saved
  • dropped

it can store

  • Record
  • metadata (Dictionary)

It provide FetchRequest and FetchedResultsController on specific database Table to retrieve data

It allow to perform storage operation on foreground or background (DataStoreContextType) by providing a DataStoreContext Within the context a Record could be

  • created
  • deleted
  • updated

Record field could be acceded using

myRecord["<fieldName>"] // or myRecord.fieldName

This DataStore definition is implemented by CoreDataStore

Dependencies

for testing only

  • MomXML to manipulate or create coredata model

About

Store data for iOS application. Currently CoreData framework is used

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published