SwiftExtension // Add credit to the Property Wrapper.

Ref: https://www.avanderlee.com/swift/property-wrappers/
This commit is contained in:
ShikiSuen 2022-10-06 13:59:08 +08:00
parent 352637e32d
commit c8dd57f684
1 changed files with 2 additions and 0 deletions

View File

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