Builds on Pythonista's UI module to provide extra functionality
Some of the most notable features of
ui2 are as follows:
- Transitioning between views
- Progress bars, which can take any shape representable with a
ui.Path, including lines, circles, and rectangles
- An entirely new system for delays. This introduces a new system for tracking delays with IDs, and allows for multiple "delay managers" to make things less global.
- Classes for controlling animation, which include support for different easings, and chaining several animations to run on sequence.
- Functions for scaling and stretching
ui.Pathobjects, as well as a convenience
ui2.PathViewclass which displays a path auch that as the
PathViewchanges size, it intelligently stretches its path to match.
ui2 includes a
demo.py script which makes it easy to view and run examples for each major feature of the module.
ui2 is expanding fast! Check back frequently for new features.
ui2 aims to make it as easy as possible to swap out
ui2 and begin adding features. It follows that one of the aims of
ui2 is to maintain compatibility with
ui, so that switching to
ui2 won't break your existing code.