GithubHelp home page GithubHelp logo

arden / twinkle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piemonte/twinkle

0.0 1.0 0.0 453 KB

a Swift and easy way to make elements in your iOS app twinkle :sparkles:

License: MIT License

C++ 10.58% Swift 84.87% Ruby 4.55%

twinkle's Introduction

Twinkle

Twinkle ✨

Twinkle is a Swift and easy way to make any UIView in your iOS app twinkle.

This library creates several CAEmitterLayers and animates them generating a sparkle effect.

Pod Version

Installation

CocoaPods

Twinkle is available and recommended for installation using the Cocoa dependency manager CocoaPods. Swift is supported as of version 0.36.

To integrate, add the following to your Podfile:

source ‘https://github.com/CocoaPods/Specs.git'
platform :iOS, ‘8.0
use_frameworks!

pod ‘Twinkle’

Carthage

Installation is also available using the dependency manager Carthage.

To integrate, add the following line to your Cartfile:

github “piemonte/Twinkle” >= 0.0.2

Manual

You can also simply copy the Twinkle.swift file into your Xcode project.

Usage

The sample project provides an example of how to integrate Twinkle, otherwise you can follow this example.

   import Twinkle
   let view: UIView = UIView(frame: CGRect(x: 0, y: 0, width: 150, height: 50))
   self.view.addSubview(view)
   view.twinkle()

Community

Resources

License

Twinkle is available under the MIT license, see the LICENSE file for more information.

twinkle's People

Contributors

piemonte avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.