Skip to content

User defaults client for Apple platform apps using TCA.

Notifications You must be signed in to change notification settings

4rays/user-defaults-client

Repository files navigation

UserDefaultsClient

A dependency client that handles saving to and reading from UserDefaults in apps using the Swift Composable Architecture (TCA).

Usage

You need to implement a live value of UserDefaultsConfigClient in order to use it in your app.

extension UserDefaultsConfigClient: DependencyValue {
  static let liveValue = Self {
    .standard
  }
}

About

User defaults client for Apple platform apps using TCA.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages