Creates a beautiful animation for you to show while loading data for your views
- Import all images and SpinnerView.swift in your existing project.
- Initialise a new istance of VMGearLoadingView: var spinner = VMGearLoadingView(showGearLoadingForView: self.view)
- Hide when necessary with: if let spinner = getGearLoadingForView(self.view) as? VMGearLoadingView{ spinner.hideGearLoadingForView(spinner) }
Included in project
- Optimization
This is a swift port of VMGearLoadingView
made by VuMai (https://github.com/VuMai/VMGearsLoading).
MIT