Skip to content

nishiths23/SwiftUIDownloadView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUIDownloadView

SwiftUIDownloadView provides a download progress view written completely in SwiftUI the new framework introduced by Apple.

  • Loading animation when the connection is being established
  • Download progress
  • Tap to cancel action

Usage

SwiftUIDownloadView(progress: Float, action: () -> Void)

Just initialise by providing progress and a closure to handle the cancel action and place it as your List's item or as a subview.

The progress uodates when the @ObjectBinding of your ContentView and the progress updates.

See the example for more details.

Contributions are welcome.

About

Download progress view created in SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages