Posts

Post marked as solved
5 Replies
For those in the same situation, I've just figured out the answer – replace the property wrapper prefix with a type update in your variable declaration:public struct CoolListRow : View { var currentStep: Binding<Int> public var body: some View { // ... } public init(currentStep: Binding<Int>) { self.currentStep = currentStep } }