Defined the DependencyKey protocol.
This commit is contained in:
parent
c38b3c1ec1
commit
df4ffad682
@ -0,0 +1,19 @@
|
||||
//
|
||||
// DependencyKey.swift
|
||||
// DependencyService
|
||||
//
|
||||
// Created by Javier Cicchelli on 05/12/2022.
|
||||
// Copyright © 2022 Röck+Cöde. All rights reserved.
|
||||
//
|
||||
|
||||
public protocol DependencyKey {
|
||||
|
||||
// MARK: Associated types
|
||||
|
||||
associatedtype Value
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
static var currentValue: Value { get set }
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user