Defined the DependencyKey protocol.

This commit is contained in:
Javier Cicchelli 2022-12-05 22:49:37 +01:00
parent c38b3c1ec1
commit df4ffad682

View File

@ -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 }
}