Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AppConfiguration warning #8334

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Realm/RLMApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ typedef void(^RLMOptionalErrorBlock)(NSError * _Nullable);

/// Properties representing the configuration of a client
/// that communicate with a particular Realm application.
///
/// `RLMAppConfiguration` options cannot be modified once the `RLMApp` using it
/// is created. App's configuration values are cached when the App is created so any modifications after it
/// will not have any effect.
@interface RLMAppConfiguration : NSObject <NSCopying>

/// A custom base URL to request against.
Expand Down
4 changes: 4 additions & 0 deletions RealmSwift/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import Realm.Private
An object representing the Realm App configuration

- see: `RLMAppConfiguration`

- note: `AppConfiguration` options cannot be modified once the `App` using it
is created. App's configuration values are cached when the App is created so any modifications after it
will not have any effect.
*/
public typealias AppConfiguration = RLMAppConfiguration
public extension AppConfiguration {
Expand Down
Loading