diff --git a/VDS/Classes/ProxPropertyWrapper.swift b/VDS/Classes/ProxPropertyWrapper.swift index 17784723..b504c36d 100644 --- a/VDS/Classes/ProxPropertyWrapper.swift +++ b/VDS/Classes/ProxPropertyWrapper.swift @@ -7,7 +7,7 @@ import Foundation -//https://gist.github.com/jegnux/4a9871220ef93016d92194ecf7ae8919#file-proxypropertywrapper-swift +//https://www.swiftbysundell.com/articles/accessing-a-swift-property-wrappers-enclosing-instance/ @propertyWrapper public struct AnyProxy { private let keyPath: ReferenceWritableKeyPath @@ -39,8 +39,6 @@ public struct AnyProxy { } } -// Kudos @johnsundell for this trick -// https://swiftbysundell.com/articles/accessing-a-swift-property-wrappers-enclosing-instance/ extension NSObject: ProxyContainer {} public protocol ProxyContainer { typealias Proxy = AnyProxy