AdmiralUIKit Views Chat LoadingProgressView - admiral-team/admiralui-ios GitHub Wiki
Overview
ProgressView
- the component that presents backgound image with loader for uploading and downloading tasks.
Code
let uploadImageView = UploadImageView()
uploadDocumentView.state = .loading
uploadDocumentView.trackProgressStyle = .default
You can create a UploadImageView with the zero frame rectangle by specifying the following parameters in init:
- state: UploadDocumentState - The current state of UploadDocumentView.
- isAnimating: Bool - The flag that controls animation of trackView.
- progressCircleStyle: ProgressViewStyle? - The style of ProgressView.
- trackProgressStyle: ProgressViewStyle - The style of CircularProgressView.
Live Example
To run live demo with ProgressView
open Xcode and run project with Example target. Then in the Chat -> ProgressView
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.