Latest 0.0.1
Homepage https://github.com/saru2020/SARMaterialDesignSpinner
License Custom Copyright (C) 2010 Apple Inc. All Rights Reserved.
Platforms ios 8.1, requires ARC
Authors
An InDeterminate Spinner for iOS, Written in Swift.

Swift version of MMMaterialDesignSpinner which was inspired from Google’s Material Design Guidelines.

SARMaterialDesignSpinner

Installation :
Add the following to your CocoaPods Podfile

pod ‘SARMateriaDesignSpinner’

or clone as a git submodule,

or any way you’d prefer to play with ;)

Copy/Include the "SARMaterialDesignSpinner.swift" file into your project and start using it right away.

Usage :

Example shows how to use it through Storyboard. 
Otherwise you can use it in other ways like any other UIViews.

To have a multi coloured spinner just like the one in the Google Photos App. Just add the following line:

self.spinner.enableGoogleMultiColoredSpinner = true

Latest podspec

{
    "name": "SARMaterialDesignSpinner",
    "version": "0.0.1",
    "swift_version": "3.2",
    "summary": "Inspired from Google's Material Design Spinner",
    "description": "A material design loading spinner inspired from Google's Material Design Spinner. Swift version of MMMaterialDesignSpinner which was inspired from Google's Material Design Guidelines.",
    "homepage": "https://github.com/saru2020/SARMaterialDesignSpinner",
    "license": {
        "type": "Custom",
        "text": "Copyright (C) 2010 Apple Inc. All Rights Reserved."
    },
    "platforms": {
        "ios": "8.1"
    },
    "authors": {
        "Saravanan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/saru2020/SARMaterialDesignSpinner.git",
        "tag": "0.0.1"
    },
    "source_files": "SARMaterialDesignSpinner/SARMaterialDesignSpinner.{swift}",
    "requires_arc": true
}

Pin It on Pinterest

Share This