// --- stubs --- protocol View { } struct Binding { } @propertyWrapper struct State { // an @State var wrappedValue: Value var projectedValue: Binding { get { return 0 as! Binding } } // what you get with `$` } struct LocalizedStringKey : ExpressibleByStringLiteral { typealias StringLiteralType = String init(stringLiteral value: Self.StringLiteralType) { } } struct Label : View where Title : View, Icon : View { } struct Text : View { } struct TextField