Realm is a mobile database: a replacement for Core Data & SQLite
Switch branches/tags
3.1.2 af-listbase-proxy af/asyncWrite af/partial-sync-api al-accessor al-ignored-test al-interprocess al-no-index al-no-timer al-object-store-message al-subarray al-swift-cache al-swift-ci2 al-swift-migration al-swift-object-util-list al-swift-object-util al-swift-support as-bulkops as-create-in-realm az-testhelper az/counters-backup az/counters-wip az/counters az/enum-for-swift-config az/hook-up-reachability az/optional-addorupdate-bug az/partial-sync az/rename-readonly az/use-new-ros do-browser-2.1.8 dp_swift_device_tests ez-stricter-build fsa_persistent_commitlogs gk-dynamic-testing gk-new-browser ja-delete-description-docs jg-extensible-enum-macro-fix jg-fixme-comment-update jg-handover jg-improved-swift-import jg-is-dynamic-removal jg-null-nsnumber-default jg-primary-key-protocol jg-results-typed-subscript jg-schema-version-swift-refined jg-subscript-consistency jg-write-excluding-token jp-migration-rename-class jp-oss-podspecs-v2 jp-oss-podspecs jp/az/fix-reconnect-issue kg-bug-linkquery-between kg-bug-sorting-sorted-view kg-lk/generator kg-negative-date kg-sort-many kk/caseinsensitive-long-string kk/limit-bandwidth-test kk/sync-permission kk/typesafe-keypath-query larkost/enable-xcode-9-beta-v2 larkost/enable-xcode-9-beta-v3 larkost/enable-xcode9-beta larkost/fix-no-device-error larkost/improve-simulator-handlin-v2 larkost/4472-reenable-swift-device-testing ma/nicknameandanon mar-bounding-box-queries mar-distance-queries mar-limit mar-xcode-9-packaging mar/primitive-array-queries master mr-contribution mr-doc-addNotificationBlock mr-examples-swift-next-rest mr/breaking/primary-key-protocol mr/enhancement/prohibit-create-objects-without-properties mr/example/collectionview pixelchef-patch-1 pod-test revert-1631-seg-swift-subscript seg-aggregate-test seg-backlink-results seg-config seg-crash-xcode-6.2 seg-customizable-schemas seg-exmaple-app seg-handover seg-migration-default seg-null-date seg-query-test seg-single-project seg-standalone-links seg-test-self-in swift-1.2 swift-2.0 tg-0.95.2 tg-0.95.3-base tg-0.95.3 tg-0.96.4 tg-core-pk tg-int-pk tg-interprocess-kqueue tg-interprocess-notification tg-link-column-comp tg-lldb-swift tg-manual-kvo tg-max-realm-size tg-nested-class tg-pod-c++-version tg-realm-config tg-realm-coordinator tg-string-pred tg-swift-dynamic tg-swift-object tg-swift-typed-agg tg-tsan-tests tg-tsan tg-tvos-async-query tg/background-task tg/ci-test tg/core-6 tg/diffed-updates tg/enable-permissions-tests tg/fsync-perf-tests tg/installation-examples tg/new-build-system tg/object-permission-tests tg/os-property-type tg/per-thread-info tg/permissions-tests tg/primitive-array-base tg/primitive-array tg/properties-for-class tg/relax-collection-constraints tg/strip-trailing-slash to-changeset-examples to-default-multithread-test to-linking-objects-examples to-sync-draw-login to-sync-puzzle-app yg/custom-auth-headers
Nothing to show
Clone or download
Latest commit a46abc0 Dec 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE.md Jun 2, 2018
Carthage/Realm.xcworkspace move to Carthage/ Sep 13, 2016
Configuration Remove an obsolete build setting from Base.xcconfig (#5703) Mar 27, 2018
Realm.xcodeproj Add an iOS-only TestHost target to work around iOS static framework i… Sep 19, 2018
Realm Release 3.13.0 Dec 14, 2018
RealmSwift Fix compilation as swift 4.2 Dec 4, 2018
docs remove API .diff Sep 15, 2016
examples Update some examples to compile as Swift 4.2 Sep 19, 2018
plugin add note about the menu item not being displayed in Xcode 8 Mar 23, 2017
scripts Add Swift 4.1.2 symlink to release package Jul 23, 2018
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 Rework how ROS is downloaded and launched for tests Jun 4, 2018
.gitmodules Pick up the fix for realm/realm-object-store#344. Jan 17, 2017
.jenkins.yml Add Xcode 10.1 to the test matrix Nov 26, 2018
.swiftlint.yml Fix SwiftLint errors Jun 6, 2018
.travis.yml Switch to Xcode 9.3 on travis Apr 19, 2018
CHANGELOG.md Release 3.13.0 Dec 14, 2018
CONTRIBUTING.md * fixed broken link within the document to #cla Mar 5, 2016
Jenkinsfile.releasability Fix typo in Jenkinsfile Nov 26, 2018
LICENSE update license to match changes in realm-java Jun 1, 2017
README.md Update README.md Aug 16, 2017
Realm.podspec Explicitly list the headers for the Realm.Private cocoapods module Aug 20, 2018
RealmSwift.podspec Remove obsolete WholeModuleOptimazation setting Mar 23, 2018
SUPPORT.md Update SUPPORT.md Jul 25, 2017
TestHost copy-Info.plist Add an iOS-only TestHost target to work around iOS static framework i… Sep 19, 2018
build.sh Build with -allowProvisioningUpdates on CI Dec 5, 2018
dependencies.list Release 3.13.0 Dec 14, 2018
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 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 8.x.
  • If cloning from git, submodules are required: git submodule update --init --recursive.
  • 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 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