Realm is a mobile database: a replacement for Core Data & SQLite
Objective-C Swift Shell C++ Ruby Python Other
Latest commit 52b8445 Oct 17, 2016 @jpsim jpsim committed on GitHub Merge pull request #4230 from realm/jp-fix-swift-3-playground
fix Swift 3 playground example source and packaging
Permalink
Failed to load latest commit information.
.github [ISSUE_TEMPLATE] Point out how to share confidentally Mar 22, 2016
Carthage/Realm.xcworkspace move to Carthage/ Sep 13, 2016
Configuration Upgrade to core 2.1.0/sync BETA-2.0 Oct 3, 2016
Realm.xcodeproj Disable module debugging for the static framework build target Oct 11, 2016
Realm Set version to 2.0.2 Oct 5, 2016
RealmSwift Remove trailing whitespace Oct 6, 2016
docs remove API .diff Sep 15, 2016
examples fix Swift 3 playground example source and packaging Oct 17, 2016
plugin Use memory reads rather than `EvaluateExpression` to retrieve the object Jun 6, 2016
scripts fix Swift 3 playground example source and packaging Oct 17, 2016
tools Added a README in the original location of the Realm Browser project. Jun 24, 2015
.dir-locals.el Project specific Emacs settings updated: Always show trailing white-s… Sep 26, 2013
.gitattributes update .gitattributes May 28, 2016
.gitignore add sync* to .gitignore Sep 20, 2016
.gitmodules set submodule back to realm-object-store@cocoa Sep 27, 2016
.jenkins.yml re-enable cocoapods Jenkins matrix entry Sep 26, 2016
.swiftlint.yml Add Swift object server test infrastructure Sep 26, 2016
.travis.yml Only try to upgrade swiftlint if it's out of date Oct 6, 2016
CHANGELOG.md Add empty changelog section Oct 6, 2016
CONTRIBUTING.md * fixed broken link within the document to #cla Mar 5, 2016
Jenkinsfile.cocoa-with-sync-release move references to this repo back to realm/realm-cocoa Sep 27, 2016
LICENSE Update year in license Sep 27, 2016
README.md update README to reflect that Xcode 7.3.1 and Xcode 8 are both supported Sep 25, 2016
Realm.podspec Upgrade to core 2.1.0/sync BETA-2.0 Oct 3, 2016
RealmSwift.podspec move references to this repo back to realm/realm-cocoa Sep 27, 2016
build.sh recover from "operation never finished bootstrapping" CI errors Oct 11, 2016
dependencies.list Set version to 2.0.2 Oct 5, 2016
logo.png Update realm logo in README.md Jun 8, 2016

README.md

Realm

Realm is a mobile database that runs directly inside phones, tablets or wearables. This repository holds the source code for the iOS, macOS, tvOS & watchOS versions of Realm Swift & Realm Objective-C.

Features

  • Mobile-first: Realm is the first database built from the ground up to run directly inside phones, tablets and wearables.
  • Simple: Data is directly exposed as objects and queryable by code, 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.
  • Modern: Realm supports relationships, generics, vectorization and even Swift.
  • Fast: Realm is faster than even raw SQLite on common operations, while maintaining an extremely rich feature set.

Getting Started

Please see the detailed instructions in our docs to add Realm Objective-C or Realm Swift to your Xcode project.

Documentation

Realm Objective-C

The documentation can be found at realm.io/docs/objc/latest.
The API reference is located at realm.io/docs/objc/latest/api.

Realm Swift

The documentation can be found at realm.io/docs/swift/latest.
The API reference is located at realm.io/docs/swift/latest/api.

Getting Help

  • Need help with your code?: Look for previous questions on the #realm tag — or ask a new question. We actively monitor & answer questions on SO!
  • Have a bug to report? Open an issue. If possible, include the version of Realm, a full log, the Realm file, and a project that shows the issue.
  • Have a feature request? Open an issue. Tell us what the feature should do, and why you want the feature.
  • Sign up for our Community Newsletter to get regular tips, learn about other use-cases and get alerted of blogposts and tutorials about Realm.

Building Realm

In case you don't want to use the precompiled version, you can build Realm yourself from source.

Prerequisites:

  • Building Realm requires Xcode 7.3.1 or Xcode 8.0.
  • Building Realm documentation requires jazzy

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.

Run sh build.sh help to see all the actions you can perform (build ios/osx, generate docs, test, etc.).

Contributing

See CONTRIBUTING.md for more details!

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to info@realm.io.

License

Realm Objective-C & Realm Swift are published under the Apache 2.0 license.
Realm Core is also published under the Apache 2.0 license and is available here.

This product is not being made available to any person located in Cuba, Iran, North Korea, Sudan, Syria or the Crimea region, or to any other person that is not eligible to receive the product under U.S. law.

Feedback

If you use Realm and are happy with it, all we ask is that you please consider sending out a tweet mentioning @realm or email help@realm.io to share your thoughts!

And if you don't like it, please let us know what you would like improved, so we can fix it!

analytics