CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Oct 2017 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Felix Ayala.
Instead of adding the source files directly to your project, you may want to consider using CocoaPods to manage your dependencies. Follow the instructions on the CocoaPods site to install the gem, and specify
Patienceas a dependency in yourPodfilewith:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "8.0"
target "TargetName" do
pod 'Patience', '~> 3.0.0'
endBut if you want to do it the old fashioned way, just add Patience.swift and Spinner.swift files directly to your project.
Note:
Patiencev3.0.0 is backward compatible till Swift 3.
Patience.show()or if you are implementing it on a UITableView you can do:
Patience.show(self.tableView, true)You can dismiss the loader in this way:
Patience.hide()UIActivityIndicator by a spinner.Feel free to collaborate with ideas, issues and/or pull requests.
Patience is available under the MIT license. See the LICENSE file for more info.