AdmiralUIKit Views Chat Loading CircularTrackView - admiral-team/admiralui-ios GitHub Wiki
Overview
CircularTrackView
- the component that used for showing view with center loading indicator.
Code
let trackView = CircularTrackView()
trackView.style = .accent
trackView.isAnimating = true
You can create a CircularTrackView with the zero frame rectangle by specifying the following parameters in init:
- style: ProgressViewStyle - The style of progress spinner.
- isAnimating - The flag that controls animation.
Live Example
To run live demo with ErrorView
open Xcode and run project with Example target. Then in the main page -> Loading -> CircularTrackView:
Contribution
You can help us to find bugs or ask us to add features.
- To start
issue
please use ready-made templates. - To make changes to the repository, you need to create a
fork
of the project, make changes to the code and create apull request
in our project. You can read more about this in the Github documentation.