tra

Translucid

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

Showing:

Popularity

Downloads/wk

0

GitHub Stars

553

Maintenance

Last Commit

5yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

Translucid

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

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.2'

Carthage

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

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

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

github "Ekhoo/Translucid" ~> 0.0.2

Run carthage update to build the framework and drag the built TranslucidFramework.framework into your Xcode project.

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.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100