- A PSGG state machine will create UI.
- A PSGG state machine will handle events.
It shows dialog when button5 pushes.
Of this example, it will create a panel and buttons that are cloned from template.
UI view is "A unit by A pixel" system for improving maintainability.
When the target view is as iPhone X size, it keeps the safe area.
Error dialog can be created by ErrorDlg.V.SetError();
It allows you to call the api multi times.
All UI Events will be recorded by MainStateEvent.Push(). This will be used for UI Test.
Play the scene