When starting a new app, I like to have some reusable components ready to use.
Some examples:
LoadingButton
A button with a state binding that can represent: initial
, loading
, success
and error
states.
The code can be found here.
Video
LongPressButton
A button with a long tap gesture recognizer and a state binding that can represent: initial
, loading
, success
and error
states.
The code can be found here.
Video
TextField
A TextField with an error state.
The code can be found here.
Video
Custom Progress View
A custom progress view using a trimmed circle that rotates.
The code can be found here.
Video
CancelCircularButton
A circular button with a long press action to cancel something.
The code can be found here.
Video
CarouselView
A Carousel View (Paged TabBar) to display information.
The code can be found here.
Video
AdaptableStack
All these components can be found in the UIComponents package.