Skip to content
forked from Ekhoo/Translucid

Lightweight library to set an Image as text background. Written in swift.

License

Notifications You must be signed in to change notification settings

konkab/Translucid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translucid

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

Simple and light weight UIView that animate text with an image.

Demo

Translucid

Installation

CocoaPods

Translucid is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Translucid", '~> 0.0.1'

Usage

    override func loadView() {
        super.loadView()
        
        let starWars: Translucid = Translucid(frame: self.view.bounds)
        starWars.font = UIFont(name: "Starjedi", size: 20)!
        starWars.text = "Star Wars"
        starWars.backgroundImage = UIImage(named: "stars")
        
        self.view.addSubview(starWars)
        
        starWars.animate()
    }

Author

Lucas Ortis:

License

Translucid is available under the MIT license. See the LICENSE file for more info.

About

Lightweight library to set an Image as text background. Written in swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 90.3%
  • Ruby 9.7%