Slide 74
Slide 74 text
// HelloViewPreview.swift
struct HelloView_Preview: PreviewProvider {
static var previews: some View {
Group {
HelloViewRepresentable(
input: .init(
backgroundColor: .white,
buttonTitle: "Click Me",
isButtonEnabled: true
)
)
}
}
}
// HelloViewPreview.3.preview-thunk.swift
extension HelloView_Preview {
@_dynamicReplacement(for: previews)
private static var __preview__previews: some View {
#sourceLocation(file: "/Users/kenmaz/Projects/iOSDC2020App/iOSDC2020App/HelloViewPreview.swift", line: 26)
AnyView(__designTimeSelection(Group {
__designTimeSelection(HelloViewRepresentable(
input: .init(
backgroundColor: .white,
buttonTitle: __designTimeString(
"#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[1].value.[0].value",
fallback: "Click Me"),
isButtonEnabled: __designTimeBoolean(
"#3084.[2].[0].property.[0].[0].arg[0].value.[0].arg[0].value.arg[2].value",
fallback: true)
)
), "#3084.[2].[0].property.[0].[0].arg[0].value.[0]")
}, "#3084.[2].[0].property.[0].[0]"))
#sourceLocation()
}