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 5ee0721a82
commit 989b9bc424
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ extension Bool {
}
// MARK: - Property wrapper
// Ref: https://www.avanderlee.com/swift/property-wrappers/
@propertyWrapper
public struct AppProperty<Value> {