How to create a prefix function in swift for a property wrapper just like “$” in SwiftUI

前端 未结 0 1879
囚心锁ツ
囚心锁ツ 2021-01-12 08:15

Is there any public API that allows creating access to some certain properties inside a property wrapper? Just like \'$\' does with \'projectedValue\'.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题