Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Amazing animated switch activity indicator written in swift

License

NotificationsYou must be signed in to change notification settings

Ekhoo/Loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loader

VersionLicensePlatformCarthage Compatible![](https://img.shields.io/badge/Swift 2-compatible-4BC51D.svg?style=flat-square)

Simple and light weight animated switch activity indicator.

Demo

Loader

Installation

CocoaPods

Loader is available throughCocoaPods. To installit, simply add the following line to your Podfile:

pod"SwitchLoader",'~> 0.0.1'

Carthage

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

You can install Carthage withHomebrew using the following command:

$ brew update$ brew install carthage

To integrate Loader into your Xcode project using Carthage, specify it in yourCartfile:

github "Ekhoo/Loader" ~> 0.0.1

Runcarthage update to build the framework and drag the builtLoader.framework into your Xcode project.

Usage

func myFunc(){letloader:Loader=Loader(frame:CGRectMake(0.0,0.0,80.0,40.0))self.view.addSubView(loader)        loader.startAnimating()}

Interface

publicfunc startAnimating() // Animate the switch activity indicatorpublicfunc stoptAnimating() // Stop Animating the switch activity indicatorpublicvarloaderColor:UIColor // The background colorpublicvarswitchColor:UIColor // The animated switch color

Author

Lucas Ortis:

License

Inspired from thisDribbble project.Loader is available under the MIT license. See the LICENSE file for more info.

About

Amazing animated switch activity indicator written in swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2026 Movatter.jp