Add binding reactor demo page

This commit is contained in:
Ira Limitanei 2024-06-14 18:02:06 +09:00
parent 2dd5c52930
commit fa714a2331
No known key found for this signature in database
GPG Key ID: 3B416C2117091FF3

View File

@ -25,6 +25,7 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
case carousel
case viewSwitcher
case form
case bindingReactor
case popover
case flowBox
case navigationView
@ -45,6 +46,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
return "Navigation View"
case .alertDialog:
return "Alert Dialog"
case .bindingReactor:
return "Binding Reactor"
default:
return rawValue.capitalized
}
@ -87,6 +90,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
return "Switch the window's view"
case .form:
return "Group controls used for data entry"
case .bindingReactor:
return "React to binding variable changes"
case .popover:
return "Present content in a bubble-like context popup"
case .flowBox:
@ -130,6 +135,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
ViewSwitcherDemo(app: app)
case .form:
FormDemo(app: app)
case .bindingReactor:
BindingReactorDemo(app: app)
case .popover:
PopoverDemo()
case .flowBox: