Latest 1.0.1
Homepage https://github.com/koombea/KoombeaLoader
License MIT
Platforms ios 9.0, requires ARC
Authors

KoombeaLoader is a clean and easy-to-us HUD for you to use with your custom animation using images sequences develop in Swift.

Installation

CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like KoombeaLoader in your projects.

First, add the following line to your Podfile:

pod 'KoombeaLoader'

This pulls from the master branch directly.

Second, install KoombeaLoader into your project:

pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

To integrate KoombeaLoader into your Xcode project using Carthage, specify it in your Cartfile:

github "koombea/KoombeaLoader"

Manually

  • Download this project.
  • Compile the framework.
  • Import the KoombeaLoader framework to your project.

Usage

Import

Import the KoombeaLoader framework to your view controller:

import KoombeaLoader

Show

Show the HUD using the following line:

KoombeaLoader.shareInstance.showLoader()

Hide

Hide the HUD using the following line:

KoombeaLoader.shareInstance.hideLoader()

Customization

KoombeaLoader can be customized via the following methods:

///Pass your custom images sequence and copy text
public func setupBasicLoader(images: [UIImage], copy: String)

///Add your custom image to rotate
public func setupBasicLoaderRotation(image: UIImage)

///Add your custom images sequence
public func setupImages(images: [UIImage])

///Add you custom copy text
public func setupLoadingCopy(copy: String)

///Setup imageView size
public func setupLoaderImageSize(width: CGFloat, height: CGFloat)

///Setup LoaderView background color
public func setupLoaderBackgroundColor(color: UIColor)

///Setup copy text color
public func setupCopyColor(color: UIColor)

///Setup copy text font and size
public func setupCopyFont(font: UIFont)

///Setup animation time interval
public func setupTimeInterval(timeInterval: Double)

Contributing to this project

If you have feature requests or bug reports, feel free to help out by sending pull requests or by creating new issues.

License

KoombeaLoader is distributed under the terms and conditions of the MIT license.

Credits

KoombeaLoader is brought to you by Koombea and the Mobile Team.

Latest podspec

{
    "name": "KoombeaLoader",
    "version": "1.0.1",
    "summary": "KoombeaLoader is a clean and easy-to-us HUD for you to use with your custom animation using images sequences develop in Swift.",
    "homepage": "https://github.com/koombea/KoombeaLoader",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Koombea": "https://www.koombea.com"
    },
    "social_media_url": "http://twitter.com/Koombea",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/koombea/KoombeaLoader.git",
        "tag": "1.0.1"
    },
    "source_files": "KoombeaLoader/**/*",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This