Giter VIP home page Giter VIP logo

ltmorphinglabel's Introduction

LTMorphingLabel

CircleCI CocoaPods Carthage compatible License

Git Twitter ![LinkedIn](https://img.shields.io/badge/linkedin-Lex Tang-blue.svg?style=flat) [eMail](mailto:[email protected]?SUBJECT=About LTMorphingLabel)

A morphing UILabel subclass written in Swift. The .Scale effect is originally introduced by Apple in WWDC 2014. New morphing effects are available as Swift extensions.

enum LTMorphingEffect: Int, Printable

.Scale - default

LTMorphingLabel

.Evaporate

LTMorphingLabel-Evaporate

.Fall

LTMorphingLabel-Fall

.Pixelate

LTMorphingLabel-Pixelate

.Sparkle

LTMorphingLabel-Sparkle

.Sparkle is built on top of QuartzCore.CAEmitterLayer. There's also a SpriteKit powered version here.

.Burn

LTMorphingLabel-Burn

.Anvil

LTMorphingLabel-Anvil

Requirements

  1. Xcode 6.3
  2. iOS 8.0+

Installation

Carthage

  1. Add this line to your Cartfile: github "lexrus/LTMorphingLabel"
  2. Run carthage update to fetch and build the LTMorphingLabel.framework
  3. Drag LTMorphingLabel.framework into your iOS 8 project

CocoaPods

  1. Install the latest release of CocoaPods: gem install cocoapods
  2. Add this line to your Podfile: pod 'LTMorphingLabel', '~> 0.0.7'
  3. Install the pod: pod install

Usage

  1. Change the class of a label from UILabel to LTMorphingLabel;
  2. Programatically set a new String to its text property.

Unit tests

Open the project with Xcode then press command + u.

License

This code is distributed under the terms and conditions of the MIT license.

ltmorphinglabel's People

Contributors

afdreher avatar biku avatar lexrus avatar wh1100717 avatar

Watchers

 avatar  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.