[BREAKGLASS] Append-only mirror of github.com/signalapp/YapDatabase
Go to file
Robbie Hanson 620e52d00a Merge branch 'master' into 2.6
Resolved Conflicts:
	YapDatabase/Extensions/FullTextSearch/YapDatabaseFullTextSearch.m
	YapDatabase/Extensions/SecondaryIndex/YapDatabaseSecondaryIndex.m
2014-10-01 18:21:48 -07:00
Examples Adding MyDatabaseObjectExample. This puts the MyDatabaseObject base class example from the wiki into the project, and also expands on the idea in order to optionally track which properties of an object have changed. 2014-09-28 15:55:28 -07:00
Testing Updating YapDatabaseSecondaryIndex init API to work with Swift. (Similar to recent fixes for YapDatabaseView) 2014-10-01 15:19:01 -07:00
Vendor/CocoaLumberjack Updating CocoaLumberjack to commit fe6824c675ede4ecc19ca1edd95b0c36e3cb245c. Fixes issue #82 2014-06-13 18:27:30 -07:00
YapDatabase Merge branch 'master' into 2.6 2014-10-01 18:21:48 -07:00
.gitignore Initial commit 2012-12-20 10:26:30 -08:00
LICENSE.txt Added license file 2013-04-07 21:18:41 -07:00
README.md Update README.md 2014-03-31 17:27:21 -07:00
YapDatabase.podspec Bumping version in podspec 2014-08-27 10:18:30 -07:00

YapDatabase

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 and Objective-C code. Plus they automatically update themselves, and they make animating tables really 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.

  • 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.

  • Objective-C. A simple to use Objective-C API means you'll be up and running in no time.


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