-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ This repository holds the source code for the iOS, macOS, tvOS & watchOS version | |
* **Intuitive to Developers:** Realm’s object-oriented data model is simple to learn, doesn’t need an ORM, and lets you write less code. | ||
* **Built for Mobile:** Realm is fully-featured, lightweight, and efficiently uses memory, disk space, and battery life. | ||
* **Designed for Offline Use:** Realm’s local database persists data on-disk, so apps work as well offline as they do online. | ||
* **[MongoDB Atlas Device Sync](https://www.mongodb.com/atlas/app-services/device-sync)**: Makes it simple to keep data in sync across users, devices, and your backend in real-time. Get started for free with [a template application](https://github.com/mongodb/template-app-swiftui-todo) and [create the cloud backend](http://mongodb.com/realm/register?utm_medium=github_atlas_CTA&utm_source=realm_swift_github). | ||
* **[MongoDB Atlas Device Sync](https://www.mongodb.com/docs/atlas/app-services/sync/)**: Makes it simple to keep data in sync across users, devices, and your backend in real-time. Get started for free with [a template application](https://github.com/mongodb/template-app-swiftui-todo) and [create the cloud backend](http://mongodb.com/realm/register?utm_medium=github_atlas_CTA&utm_source=realm_swift_github). | ||
|
||
## Object-Oriented: Streamline Your Code | ||
|
||
|
@@ -40,7 +40,7 @@ print("name of dog: \(dog.name)") | |
|
||
// Get the default Realm | ||
let realm = try! Realm() | ||
// Persist your data easily with a write transaction | ||
// Persist your data easily with a write transaction | ||
try! realm.write { | ||
realm.add(dog) | ||
} | ||
|
@@ -85,7 +85,7 @@ Realm integrates directly with SwiftUI, updating your views so you don't have to | |
```swift | ||
struct ContactsView: View { | ||
@ObservedResults(Person.self) var persons | ||
|
||
var body: some View { | ||
List { | ||
ForEach(persons) { person in | ||
|
@@ -123,14 +123,14 @@ let dogs = realm.objects(Dog.self).filter("name contains 'Fido'") | |
|
||
We support installing Realm via Swift Package Manager, CocoaPods, Carthage, or by importing a dynamic XCFramework. | ||
|
||
For more information, see the detailed instructions in our [docs](https://docs.mongodb.com/realm/sdk/ios/install/). | ||
For more information, see the detailed instructions in our [docs](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/install/). | ||
|
||
Interested in getting started for free with [a template application](https://github.com/mongodb/template-app-swiftui-todo) that includes a cloud backend and Sync? [Create a MongoDB Atlas Account](http://mongodb.com/realm/register?utm_medium=github_atlas_CTA&utm_source=realm_swift_github). | ||
|
||
## Documentation | ||
|
||
The documentation can be found at [docs.mongodb.com/realm/sdk/ios/](https://docs.mongodb.com/realm/sdk/ios/). | ||
The API reference is located at [docs.mongodb.com/realm-sdks/swift/latest/](https://docs.mongodb.com/realm-sdks/swift/latest/) | ||
The documentation can be found at [mongodb.com/docs/atlas/device-sdks/sdk/swift/](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift//). | ||
The API reference is located at [mongodb.com/docs/realm-sdks/swift/latest/](https://www.mongodb.com/docs/realm-sdks/swift/latest/) | ||
|
||
## Getting Help | ||
|
||
|
@@ -165,7 +165,7 @@ unacceptable behavior to [[email protected]](mailto:community-conduc | |
|
||
## License | ||
|
||
Realm Objective-C & Realm Swift are published under the Apache 2.0 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](https://github.com/realm/realm-core). | ||
|
||
|