Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
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.
- 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.
- Need help with your code?: Look for previous questions with the
realmtag on Stack Overflow or ask a new question. For general discussion that might be considered too broad for Stack Overflow, use the Community Forum.
- Have a bug to report? Open a GitHub 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 a GitHub issue. Tell us what the feature should do and why you want the feature.
In case you don't want to use the precompiled version, you can build Realm yourself from source.
- Building Realm requires Xcode 11.x or newer.
- 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.
sh build.sh help to see all the actions you can perform (build ios/osx, generate docs, test, etc.).
See CONTRIBUTING.md for more details!
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.
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!
|Last commit: Yesterday|
You may find interesting
v10.7.0 - 2021-02-23T23:38:53
- Add support for some missing query operations on data properties:
- Data properties can be compared to other data properties (e.g. "dataProperty1 == dataProperty2").
- Case and diacritic-insensitive queries can be performed on data properties. This will only have meaningful results if the data property contains UTF-8 string data.
- Data properties on linked objects can be queried (e.g. "link.dataProperty CONTAINS %@")
- Implement queries which filter on lists other than object links (lists of objects were already supported). All supported operators for normal properties are now supported for lists (e.g. "ANY intList = 5" or "ANY stringList BEGINSWITH 'prefix'"), as well as aggregate operations on the lists (such as "intArray.@sum > 100").
- Performance of sorting on more than one property has been improved. Especially important if many elements match on the first property. Mitigates (#7092)
- Fixed a bug that prevented an object type with incoming links from being marked as embedded during migrations. (Core #4414)
- The Realm notification listener thread could sometimes hit the assertion failure "!skip_version.version" if a write transaction was committed at a very specific time (since v10.5.0).
- Added workaround for a case where upgrading an old file with illegal string would crash (#7111).
- Fixed a conflict resolution bug related to the ArrayMove instruction, which could sometimes cause an "Invalid prior_size" exception to prevent synchronization (since v10.5.0).
- Skipping a change notification in the first write transaction after the observer was added could potentially fail to skip the notification (since v10.5.1).
- Realm Studio: 10.0.0 or later.
- APIs are backwards compatible with all previous releases in the 10.x.y series.
- Carthage release for Swift is built with Xcode 12.4.
- CocoaPods: 1.10 or later.
- Upgraded realm-core from v10.5.0 to v10.5.3