1 ![Realm](https://github.com/realm/realm-cocoa/raw/master/logo.png)
3 Realm is a mobile database that runs directly inside phones, tablets or wearables.
4 This repository holds the source code for the iOS, macOS, tvOS & watchOS versions of Realm Swift & Realm Objective-C.
8 * **Mobile-first:** Realm is the first database built from the ground up to run directly inside phones, tablets and wearables.
9 * **Simple:** Data is directly [exposed as objects](https://realm.io/docs/objc/latest/#models) and [queryable by code](https://realm.io/docs/objc/latest/#queries), removing the need for ORM's riddled with performance & maintenance issues. Most of our users pick it up intuitively, getting simple apps up & running in minutes.
10 * **Modern:** Realm supports relationships, generics, vectorization and Swift.
11 * **Fast:** Realm is faster than even raw SQLite on common operations, while maintaining an extremely rich feature set.
15 Please see the detailed instructions in our docs to add [Realm Objective-C](https://realm.io/docs/objc/latest/#installation) _or_ [Realm Swift](https://realm.io/docs/swift/latest/#installation) to your Xcode project.
21 The documentation can be found at [realm.io/docs/objc/latest](https://realm.io/docs/objc/latest).
22 The API reference is located at [realm.io/docs/objc/latest/api](https://realm.io/docs/objc/latest/api).
26 The documentation can be found at [realm.io/docs/swift/latest](https://realm.io/docs/swift/latest).
27 The API reference is located at [realm.io/docs/swift/latest/api](https://realm.io/docs/swift/latest/api).
31 - **Need help with your code?**: Look for previous questions on the [#realm tag](https://stackoverflow.com/questions/tagged/realm?sort=newest) — or [ask a new question](https://stackoverflow.com/questions/ask?tags=realm). We actively monitor & answer questions on SO!
32 - **Have a bug to report?** [Open an issue](https://github.com/realm/realm-cocoa/issues/new). If possible, include the version of Realm, a full log, the Realm file, and a project that shows the issue.
33 - **Have a feature request?** [Open an issue](https://github.com/realm/realm-cocoa/issues/new). Tell us what the feature should do, and why you want the feature.
34 - Sign up for our [**Community Newsletter**](https://realm.io/realm-news-subscribe) to get regular tips, learn about other use-cases and get alerted of blogposts and tutorials about Realm.
38 In case you don't want to use the precompiled version, you can build Realm yourself from source.
42 * Building Realm requires Xcode 8.x.
43 * If cloning from git, submodules are required: `git submodule update --init --recursive`.
44 * Building Realm documentation requires [jazzy](https://github.com/realm/jazzy)
46 Once you have all the necessary prerequisites, building Realm.framework just takes a single command: `sh build.sh build`. You'll need an internet connection the first time you build Realm to download the core binary.
48 Run `sh build.sh help` to see all the actions you can perform (build ios/osx, generate docs, test, etc.).
52 See [CONTRIBUTING.md](CONTRIBUTING.md) for more details!
54 This project adheres to the [Contributor Covenant Code of Conduct](https://realm.io/conduct).
55 By participating, you are expected to uphold this code. Please report
56 unacceptable behavior to [info@realm.io](mailto:info@realm.io).
60 Realm Objective-C & Realm Swift are published under the Apache 2.0 license.
61 Realm Core is also published under the Apache 2.0 license and is available
62 [here](https://github.com/realm/realm-core).
64 **This product is not being made available to any person located in Cuba, Iran,
65 North Korea, Sudan, Syria or the Crimea region, or to any other person that is
66 not eligible to receive the product under U.S. law.**
70 **_If you use Realm and are happy with it, all we ask is that you please consider sending out a tweet mentioning [@realm](https://twitter.com/realm) to share your thoughts!_**
72 **_And if you don't like it, please let us know what you would like improved, so we can fix it!_**
74 ![analytics](https://ga-beacon.appspot.com/UA-50247013-2/realm-cocoa/README?pixel)