Latest 1.3.2
Homepage https://github.com/malkouz/MKSpinner
License MIT
Platforms ios 8.0
Authors

MKSpinner

Version
License
Platform

Beautiful activity indicator.

Beautiful activity indicator. Same of MKSpinner with changed animation (https://github.com/icanzilb/MKSpinner)

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 8 or later

Installation

MKSpinner is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MKSpinner"

Code samples

The simple code to get MKSpinner running in your own app.

  • In case you installed MKSpinner via CocoaPods you need to import it (add this somewhere at the top of your source code file):
import MKSpinner
  • When you want to show an animated activity (eg. rings are randomly rotating around):
MKSpinner.show("Connecting to satellite...")
  • If you want to show a static activity indicator (eg. a message with two complete rings around it)
MKSpinner.show("Failed to connect, waiting...", animated: false)
  • When you want to hide the activity:
MKSpinner.hide()

In case you want to do something after the hiding animation completes you can provide a closure to the hide() method:

MKSpinner.hide({
//do stuff
})

That’s all. If you want to change the text of the current activity, just call show(...) again, this will animate the old text into the new text.

Author

Moayad Al kouz, [email protected]

License

MKSpinner is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MKSpinner",
    "version": "1.3.2",
    "summary": "Beautiful activity indicator.",
    "description": "Beautiful activity indicator. Same of SwiftSpinner with changed animation (https://github.com/icanzilb/SwiftSpinner)",
    "homepage": "https://github.com/malkouz/MKSpinner",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Moayad Al kouz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/malkouz/MKSpinner.git",
        "tag": "1.3.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MKSpinner/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This