forked from aparoksha/adwaita-swift
Add binding reactor demo page
This commit is contained in:
parent
2dd5c52930
commit
fa714a2331
@ -25,6 +25,7 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
|||||||
case carousel
|
case carousel
|
||||||
case viewSwitcher
|
case viewSwitcher
|
||||||
case form
|
case form
|
||||||
|
case bindingReactor
|
||||||
case popover
|
case popover
|
||||||
case flowBox
|
case flowBox
|
||||||
case navigationView
|
case navigationView
|
||||||
@ -45,6 +46,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
|||||||
return "Navigation View"
|
return "Navigation View"
|
||||||
case .alertDialog:
|
case .alertDialog:
|
||||||
return "Alert Dialog"
|
return "Alert Dialog"
|
||||||
|
case .bindingReactor:
|
||||||
|
return "Binding Reactor"
|
||||||
default:
|
default:
|
||||||
return rawValue.capitalized
|
return rawValue.capitalized
|
||||||
}
|
}
|
||||||
@ -87,6 +90,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
|||||||
return "Switch the window's view"
|
return "Switch the window's view"
|
||||||
case .form:
|
case .form:
|
||||||
return "Group controls used for data entry"
|
return "Group controls used for data entry"
|
||||||
|
case .bindingReactor:
|
||||||
|
return "React to binding variable changes"
|
||||||
case .popover:
|
case .popover:
|
||||||
return "Present content in a bubble-like context popup"
|
return "Present content in a bubble-like context popup"
|
||||||
case .flowBox:
|
case .flowBox:
|
||||||
@ -130,6 +135,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
|||||||
ViewSwitcherDemo(app: app)
|
ViewSwitcherDemo(app: app)
|
||||||
case .form:
|
case .form:
|
||||||
FormDemo(app: app)
|
FormDemo(app: app)
|
||||||
|
case .bindingReactor:
|
||||||
|
BindingReactorDemo(app: app)
|
||||||
case .popover:
|
case .popover:
|
||||||
PopoverDemo()
|
PopoverDemo()
|
||||||
case .flowBox:
|
case .flowBox:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user