YapDatabase is an extensible database for iOS & Mac.
Go to file
Niels Andriesse 9533cad0a5 Patch Any? bridging bug
The object parameter was getting bridged to Any when it should be bridged to Any?. This could cause recurring crashes for some users.
2020-11-30 12:04:38 +11:00
Examples Updated CloudKitTodo - updated from deprecated CloudKit API's 2017-09-16 17:56:50 -04:00
Framework Adding ConnectionPool to CocoaPods & Carthage. 2018-03-19 14:01:44 -06:00
Testing Fix for issue #444 - Compiler warnings in Xcode 9 2018-05-23 17:30:28 -04:00
YapDatabase Patch Any? bridging bug 2020-11-30 12:04:38 +11:00
YapDatabase.xcodeproj Added __nullable to metadata in headers to make sure Swift 4.1 doesn't throw EXC_BAD_ACCESS 2018-04-05 15:25:14 +10:00
.gitignore Adding Carthage stuff to .gitignore 2015-10-16 16:30:56 -07:00
.travis.yml Travis CI config updated 2018-03-28 21:37:16 +03:00
Cartfile Replacing 'Reachability' dependency with embedded 'YapReachability' class. This allows the ActionManager to run on tvOS & watchOS. 2016-09-08 11:24:45 -07:00
Cartfile.resolved Updating CocoaLumberjack version in Carthage to fix compiler warnings. 2017-11-04 15:52:51 -05:00
LICENSE.txt Added license file 2013-04-07 21:18:41 -07:00
README.md Update README.md 2018-06-15 09:54:51 -04:00
YapDatabase.podspec Incrementing podspec version. 2018-07-22 12:59:03 -04:00

README.md

YapDatabaseLogo Build Status Pod Version Carthage compatible

YapDatabase is a "key/value store and MUCH MORE" built atop sqlite for iOS & Mac. It has the following features:

  • Concurrency. You can read from the database while another thread is simultaneously making modifications to the database. So you never have to worry about blocking the main thread, and you can easily write to the database on a background thread. And, of course, you can read from the database on multiple threads simultaneously.

  • Built-In Caching. A configurable object cache is built-in. Of course sqlite has caching too. But it's caching raw serialized bytes, and we're dealing with objects. So having a built-in cache means you can skip the deserialization process, and get your objects much faster.

  • Collections. Sometimes a single key isn't enough. Sometimes a collection & key is better. No worries. YapDatabase supports collections out of the box.

  • Metadata. Ever wanted to store extra data along with your object? Like maybe a timestamp of when it was downloaded. Or a fully separate but related object? You're in luck. Metadata support comes standard. Along with its own separate configurable cache too!

  • Views. Need to filter, group & sort your data? No problem. YapDatabase comes with Views. And you don't even need to write esoteric SQL queries. Views work using blocks with your own code. Plus they automatically update themselves, and they make animating tables super easy.

  • Secondary Indexing. Speed up your queries by indexing important properties. And then use SQL style queries to quickly find your items.

  • Full Text Search. Built atop sqlite's FTS module (contributed by google), you can add extremely speedy searching to your app with minimal effort.

  • Relationships. You can setup relationships between objects and even configure cascading delete rules.

  • Sync. Support for syncing with Apple's CloudKit is available out of the box. There's even a fully functioning example project that demonstrates writing a syncing Todo app.

  • Extensions. More than just a key/value store, YapDatabase comes with an extensions architecture built-in. You can even create your own extensions.

  • Performance. Fetch thousands of objects on the main thread without dropping a frame.


See what the API looks like in "hello world" for YapDatabase
Learn more by visiting the wiki