Skip to content

ProgressView is a means for displaying a progress indicator for a collection of Progressable items.

Notifications You must be signed in to change notification settings

pnicholls/ProgressView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProgressView

Version Swift Version Carthage compatible

ProgressView is a means for displaying a progress indicator for a collection of Progressable items.

This is heavily inspired by Instagram Stories.

Usage

extension ExampleViewController: ProgressViewDataSource {
        
    // MARK: - ProgressViewDataSource
    
    func items(for progressView: ProgressView) -> [Progressable] {
        return items
    }
}

public protocol Progressable {
    var progress: ProgressViewObservable<Double> { set get }
}

Example

alt tag

alt tag

About

ProgressView is a means for displaying a progress indicator for a collection of Progressable items.

Resources

Stars

Watchers

Forks

Packages

No packages published