Skip to content
tgrapperon edited this page Dec 26, 2021 · 11 revisions

Types

  • ComposableEnvironment: The base class of your environments.
  • DerivedEnvironment: Use this property wrapper to declare child ComposableEnvironment in a ComposableEnvironment subclass.
  • DerivedEnvironment: Use this property wrapper to declare some child GlobalEnvironment in a GlobalEnvironment parent.
  • Dependency: Use this property wrapper to declare depencies in a ComposableEnvironment subclass.
  • AliasBuilder: A type that is used to configure dependencies aliases when using the DerivedEnvironment property wrapper.
  • Dependencies: This type acts as a namespace to reference your dependencies.
  • DependencyAliases
  • Dependency: Use this property wrapper to access global depencies anywhere.
  • AliasBuilder: A type that is used to configure dependencies aliases when using the DerivedEnvironment property wrapper.

Protocols

  • DependencyKey: Conform types to this protocol to define dependencies as Dependencies computed properties.
  • GlobalDependenciesAccessing: A marker protocol that provides convenient access to global dependencies.
  • GlobalEnvironment: A protocol characterizing a type that has no local dependencies.

Global Typealiases

Extensions

Clone this wiki locally