Realm is a mobile database that runs directly inside phones, tablets or wearables. This repository holds the source code for the iOS & OSX versions of Realm, for both Swift & Objective-C.
Please see the detailed instructions in our docs to add Realm Objective-C or Realm Swift to your Xcode project.
The documentation can be found at realm.io/docs/objc/latest.
The API reference is located at realm.io/docs/objc/latest/api.
The documentation can be found at realm.io/docs/swift/latest.
The API reference is located at realm.io/docs/swift/latest/api.
In case you don't want to use the precompiled version, you can build Realm yourself from source.
Prerequisites:
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.).
Executing the examples under the examples/
folder, requires that you have built the Realm.framework
.
See CONTRIBUTING.md for more details!
Realm Objective-C & Realm Swift are published under the Apache 2.0 license.
The underlying core is available under the Realm Core Binary License while we work to open-source it under the Apache 2.0 license.
If you use Realm and are happy with it, all we ask is that you please consider sending out a tweet mentioning @realm, announce your app on our mailing-list, or email help@realm.io to let us know about it!
And if you don't like it, please let us know what you would like improved, so we can fix it!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。