diff --git a/Realm.podspec b/Realm.podspec index 40770ea24e..5573c47505 100644 --- a/Realm.podspec +++ b/Realm.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.description = <<-DESC The Realm Database, for Objective-C. (If you want to use Realm from Swift, see the “RealmSwift” pod.) - Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/realm/sdk/swift/. + Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/. DESC s.homepage = "https://realm.io" s.source = { :git => 'https://github.com/realm/realm-swift.git', :tag => "v#{s.version}" } diff --git a/Realm/RLMObject.h b/Realm/RLMObject.h index 9bcfbe310b..652bd4b06e 100644 --- a/Realm/RLMObject.h +++ b/Realm/RLMObject.h @@ -68,7 +68,7 @@ RLM_HEADER_AUDIT_BEGIN(nullability, sendability) ### Relationships - See our [Realm Swift Documentation](https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#relationships) for more details. + See our [Realm Swift Documentation](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/relationships/) for more details. ### Key-Value Observing diff --git a/Realm/RLMProperty.mm b/Realm/RLMProperty.mm index 9f458018ff..09e974e8a7 100644 --- a/Realm/RLMProperty.mm +++ b/Realm/RLMProperty.mm @@ -312,7 +312,7 @@ - (BOOL)setTypeFromRawType:(NSString *)rawType { } @throw RLMException(@"Property '%@' is of type '%@<%@>' which is not a supported %@ object type. " @"%@ can only contain instances of RLMObject subclasses. " - @"See https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#to-many-relationship " + @"See https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/relationships/#define-a-to-many-relationship-property " @"for more information.", _name, collectionName, _objectClassName, collectionName, collectionName); } else if (strncmp(code, numberPrefix, numberPrefixLen) == 0) { @@ -323,7 +323,7 @@ - (BOOL)setTypeFromRawType:(NSString *)rawType { } @throw RLMException(@"Property '%@' is of type %s which is not a supported NSNumber object type. " @"NSNumbers can only be RLMInt, RLMFloat, RLMDouble, and RLMBool at the moment. " - @"See https://www.mongodb.com/docs/realm/sdk/swift/data-types/supported-property-types/ " + @"See https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/supported-types/#std-label-ios-supported-property-types" @"for more information.", _name, code + 1); } else if (strncmp(code, linkingObjectsPrefix, linkingObjectsPrefixLen) == 0 && @@ -517,7 +517,7 @@ - (instancetype)initSwiftPropertyWithName:(NSString *)name if (_type == RLMPropertyTypeObject && ![RLMSchema classForString:_objectClassName]) { @throw RLMException(@"Property '%@' is of type 'RLMArray<%@>' which is not a supported RLMArray object type. " @"RLMArrays can only contain instances of RLMObject subclasses. " - @"See https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#to-many-relationship " + @"See https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/relationships/#define-a-to-many-relationship-property " @"for more information.", _name, _objectClassName); } } @@ -530,7 +530,7 @@ - (instancetype)initSwiftPropertyWithName:(NSString *)name if (_type == RLMPropertyTypeObject && ![RLMSchema classForString:_objectClassName]) { @throw RLMException(@"Property '%@' is of type 'RLMSet<%@>' which is not a supported RLMSet object type. " @"RLMSets can only contain instances of RLMObject subclasses. " - @"See https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#to-many-relationship " + @"See https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/relationships/#define-a-to-many-relationship-property " @"for more information.", _name, _objectClassName); } } @@ -544,7 +544,7 @@ - (instancetype)initSwiftPropertyWithName:(NSString *)name if (_type == RLMPropertyTypeObject && ![RLMSchema classForString:_objectClassName]) { @throw RLMException(@"Property '%@' is of type 'RLMDictionary' which is not a supported RLMDictionary object type. " @"RLMDictionarys can only contain instances of RLMObject subclasses. " - @"See https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#to-many-relationship " + @"See https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/relationships/#define-a-to-many-relationship-property " @"for more information.", _name, _objectClassName); } } diff --git a/Realm/RLMResults.h b/Realm/RLMResults.h index 3e3608c657..554cae7c82 100644 --- a/Realm/RLMResults.h +++ b/Realm/RLMResults.h @@ -736,7 +736,7 @@ __attribute__((swift_attr("@_unsafeInheritExecutor"))); parent object. For more information, please see the "Inverse Relationships" section in the - [documentation](https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#relationships). + [documentation](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/relationships/). */ @interface RLMLinkingObjects : RLMResults @end diff --git a/RealmSwift.podspec b/RealmSwift.podspec index 4591e45ed4..a3e6b97d2b 100644 --- a/RealmSwift.podspec +++ b/RealmSwift.podspec @@ -7,7 +7,7 @@ Pod::Spec.new do |s| s.description = <<-DESC The Realm Database, for Swift. (If you want to use Realm from Objective-C, see the “Realm” pod.) - Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/realm/sdk/swift/. + Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/. DESC s.homepage = "https://realm.io" s.source = { :git => 'https://github.com/realm/realm-swift.git', :tag => "v#{s.version}" } diff --git a/RealmSwift/Aliases.swift b/RealmSwift/Aliases.swift index ac9e192bef..24d72621e3 100644 --- a/RealmSwift/Aliases.swift +++ b/RealmSwift/Aliases.swift @@ -27,7 +27,7 @@ import Realm.Swift /** `PropertyType` is an enum describing all property types supported in Realm models. - For more information, see [Object Models and Schemas](https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/object-models-and-schemas/). + For more information, see [Object Models and Schemas](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/model-data/object-models/). ### Primitive types diff --git a/SUPPORT.md b/SUPPORT.md index 47837b2a2b..b97e954edd 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -4,7 +4,7 @@ The Realm team is here to help you with your Realm-related issues! ## Documentation -Before asking questions, please familiarize yourself with our [Realm Swift](https://www.mongodb.com/docs/realm/sdk/swift/) documentation. We also have a number of [Tech Notes](https://www.mongodb.com/developer/products/realm/) which cover various topics that may be of interest. +Before asking questions, please familiarize yourself with our [Realm Swift](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/) documentation. We also have a number of [Tech Notes](https://www.mongodb.com/developer/products/realm/) which cover various topics that may be of interest. ## Stack Overflow diff --git a/docs/README.md b/docs/README.md index 2513560306..8a9dae0bf8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,13 +2,13 @@ ## Realm Swift -The documentation can be found at [www.mongodb.com/docs/realm/sdk/swift/](https://www.mongodb.com/docs/realm/sdk/swift/). +The documentation can be found at [https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/). The API reference is located at [www.mongodb.com/docs/realm-sdks/swift/latest/](https://www.mongodb.com/docs/realm-sdks/swift/latest/). ## Realm Objective-C -The documentation can be found at [www.mongodb.com/docs/realm/sdk/swift/](https://www.mongodb.com/docs/realm/sdk/swift/). -The API reference is located at [www.mongodb.com/docs/realm-sdks/objc/latest](https://www.mongodb.com/docs/realm-sdks/objc/latest). +The documentation can be found at [https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/](https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/). +The API reference is located at [www.mongodb.com/docs/realm-sdks/objc/latest](https://www.mongodb.com/docs/realm-sdks/objc/latest/). ## Generating Docs diff --git a/examples/README.md b/examples/README.md index fc7511e8fa..6b0739909c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -124,7 +124,7 @@ Open the project in Xcode, and press "Run" to build and run the program. It will The `installation/` directory contains example Xcode projects demonstrating how to install Realm Objective-C and Realm Swift from all available methods defined -in . +in . ## tvOS (Objective-C)