https://github.com/rougeware/swift-propertywrapper-protocol
Lets you reference property wrappers as protocols
https://github.com/rougeware/swift-propertywrapper-protocol
property-wrapper protocol-oriented protocol-oriented-programming protocols spm swift swift-package swift-package-manager swift-protocol swiftpackage swiftpackagemanager
Last synced: 4 months ago
JSON representation
Lets you reference property wrappers as protocols
- Host: GitHub
- URL: https://github.com/rougeware/swift-propertywrapper-protocol
- Owner: RougeWare
- License: other
- Created: 2019-09-23T04:58:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T05:24:41.000Z (about 5 years ago)
- Last Synced: 2025-07-26T22:14:12.364Z (6 months ago)
- Topics: property-wrapper, protocol-oriented, protocol-oriented-programming, protocols, spm, swift, swift-package, swift-package-manager, swift-protocol, swiftpackage, swiftpackagemanager
- Language: Swift
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# `PropertyWrapper` Protocol #
Swift 5.1 introduced the wonderful `@propertyWrapper` feature, but unfortunately it's a little difficult to genericize.
Conform to this protocol to use any property wrapper type more generically.