SettingManagerType

public protocol SettingManagerType

The action that a setting manager should confirm to.

Author

Adamas

Version

1.8.0

Date

11/04/2022
  • Subscription

    Declaration

    Swift

    subscript<Key>(_: Key) -> Key.Value where Key : UserDefaultsKeyType { get set }

    Parameters

    key

    A user default key.

    Return Value

    The value

  • Load the default setting values in a user defaults.

    Declaration

    Swift

    static func loadDefaultSettings(from bundle: Bundle,
                                    into userDefaults: UserDefaults) -> Bool

    Parameters

    bundle

    The bundle where the setting plist file is.

    userDefaults

    The user defaults that should accept the default setting values.

    Return Value

    Result of the loading action.