https://github.com/simplisticated/datakit
Incredibly fast in-memory database for iOS.
https://github.com/simplisticated/datakit
Last synced: 9 months ago
JSON representation
Incredibly fast in-memory database for iOS.
- Host: GitHub
- URL: https://github.com/simplisticated/datakit
- Owner: simplisticated
- License: mit
- Created: 2016-07-01T08:09:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-16T02:16:52.000Z (about 9 years ago)
- Last Synced: 2025-06-01T14:58:20.303Z (10 months ago)
- Language: Swift
- Homepage:
- Size: 86.9 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# At a Glance
`DataKit` is an extremely fast in-memory database with intuitive and powerful internal language. It's developed with keeping in mind main troubles that iOS developer encounter with traditional databases like CoreData. To simplify development process, `DataKit` is based on several axioms:
1. **No contexts.** Really. Who need those different contexts for each thread in CoreData? Everybody tired of them. This is a useless waste of time to write a code for retrieveing the same object from another context in another thread. `DataKit` uses one context and it's hidden from developer.
2. **Never freeze UI queue.** `DataKit` uses its own queue for all operations. They are performed asynchronously and never stop UI updates.
3. **Be relational.** You can work with classes like with tables in SQL database. No more to say here.
4. **Self-learning.** Yes, `DataKit` has a self-learning algorithm. More requests to database you make, faster you get results.
# How To Get Started
- Copy content of `DataKit` folder to your project.
or
- Use `DataKit` cocoapod
**Note**: For Swift 2.x use `DataKit v0.2.2`. For Swift 3.0 use `DataKit v3.0`.
# Requirements
* iOS 9.0 and later
* Xcode 8 and later
# Usage
`DataKit` is designed to work with any types of data subclassed from `NSObject`.
**More documentation will be published very soon...**
# License
`DataKit` is available under the MIT license. See the [LICENSE](./LICENSE) file for more info.