Skip to content

chamitha/LinearActivityIndicatorView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

LinearActivityIndicatorView

The LinearActivityIndicatorView is a Swift implementation of the indeterminate linear progress indicator of the Material Design for iOS.

Installation

Add the LinearActivityIndicatorView.swift file to your Xcode project.

Usage

let activityIndicatorView = LinearActivityIndicatorView(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: 5))
view.addSubview(activityIndicatorView)
activityIndicatorView.autoresizingMask = [.flexibleWidth, .flexibleTopMargin]

// Show activity indicator
activityIndicatorView.startAnimating()

// Hide activity indicator
activityIndicator.stopAnimating()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages