SwiftExtension // Add credit to the Property Wrapper.
Ref: https://www.avanderlee.com/swift/property-wrappers/
This commit is contained in:
parent
352637e32d
commit
c8dd57f684
|
@ -105,6 +105,8 @@ extension Bool {
|
||||||
|
|
||||||
// MARK: - Property wrapper
|
// MARK: - Property wrapper
|
||||||
|
|
||||||
|
// Ref: https://www.avanderlee.com/swift/property-wrappers/
|
||||||
|
|
||||||
@propertyWrapper
|
@propertyWrapper
|
||||||
public struct AppProperty<Value> {
|
public struct AppProperty<Value> {
|
||||||
public let key: String
|
public let key: String
|
||||||
|
|
Loading…
Reference in New Issue