Latest 1.1
License MIT
Platforms ios 10.0


Type Function Description
void | present() Shows the spinner to ViewController
void | remove() Removes the spinner from ViewController
void | setCustomImage(with: <image_name>) Adds custom image for custom type spinner
void | setCustomSettings(borderColor: <UIColor>, backgroundColor: <UIColor>, alpha: <CGFloat>) Set color scheme of spinners


1) Bubble


2) Cube


3) Wheel


Manual Install

Download the repository and drag to your project files

Installation with Cocoapods

Create a Podfile in your project directory and add pod 'Spinners' to podfile.

pod 'Spinners'


1) Initializing

Import the Spinners module

import Spinners

Create an instance of the Spinners class. The Spinners class has 2 parameters.
type is the type of spinner you want.
ViewController is your main ViewController

var spinners: Spinners!

override func viewDidLoad() {

  spinners = Spinners(type: <type>, with: self)


1) Show

Show the spinner when processing is occured.


2) Remove

Remove the spinner when process is finished


3) Customize

You can change the color of the spinners to match your application color scheme.

spinners.setCustomSettings(borderColor: <UIColor>, backgroundColor: <UIColor>, alpha: <CGFloat>)

4) Custom type

When selecting a custom type spinner, you must set the type of image you want as your spinner.

spinners.setCustomImage(with: <image_name>)

Spinners • Developed By Cyril

Latest podspec

    "name": "Spinners",
    "version": "1.1",
    "summary": "Dynamic Activity Indicators.",
    "swift_version": "4.0",
    "description": "Dynamic Activity Indicators. Easy to use and would take only a maximum of 4 lines of code.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Cyril Garcia": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1"
    "platforms": {
        "ios": "10.0"
    "source_files": "Spinners/*.swift"

Pin It on Pinterest

Share This