iOS 加载动画:Spinner

pdce 9年前

Spinner 是用 Swift 写成的 VMGearLoadingView 端口,可以创建漂亮的动画,用于加载数据时候的视图。

Usage

  1. Import all images and SpinnerView.swift in your existing project.
  2. Initialise a new istance of VMGearLoadingView: var spinner = VMGearLoadingView(showGearLoadingForView: self.view)
  3. Hide when necessary with: if let spinner = getGearLoadingForView(self.view) as? VMGearLoadingView{ spinner.hideGearLoadingForView(spinner) }
iOS 加载动画:Spinner

项目主页:http://www.open-open.com/lib/view/home/1434010985286