Skip to content

Commit

Permalink
Fix documentation links
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaafanador3 committed May 9, 2024
1 parent 6f8d5e3 commit a478ed8
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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}" }
Expand Down
2 changes: 1 addition & 1 deletion Realm/RLMObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions Realm/RLMProperty.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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 &&
Expand Down Expand Up @@ -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);
}
}
Expand All @@ -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);
}
}
Expand All @@ -544,7 +544,7 @@ - (instancetype)initSwiftPropertyWithName:(NSString *)name
if (_type == RLMPropertyTypeObject && ![RLMSchema classForString:_objectClassName]) {
@throw RLMException(@"Property '%@' is of type 'RLMDictionary<KeyType, %@>' 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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Realm/RLMResults.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<RLMObjectType: RLMObject *> : RLMResults
@end
Expand Down
2 changes: 1 addition & 1 deletion RealmSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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}" }
Expand Down
2 changes: 1 addition & 1 deletion RealmSwift/Aliases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://www.mongodb.com/docs/realm/sdk/swift/install/#install-realm-for-ios--macos--tvos--and-watchos>.
in <https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/install/#install-realm-for-ios--macos--tvos--and-watchos>.

## tvOS (Objective-C)

Expand Down

0 comments on commit a478ed8

Please sign in to comment.