Latest 1.0.0
Homepage https://github.com/tib/LongShadow
License WTFPL
Platforms ios 8.0, requires ARC
Authors

UILabel extension to generate dynamic long shadow effects in swift.

How shoud you use

Just add the file to your project, and apply the effect as you want.

CocoaPods support added

pod ‘LongShadow’

@IBOutlet weak var textLabel: UILabel!
@IBOutlet weak var detailTextLabel: UILabel!
@IBOutlet weak var button: UIButton!

override func viewDidLayoutSubviews() {
    super.viewDidLayoutSubviews()

    self.textLabel.longShadow(4)
    self.detailTextLabel.longShadow(4)
    self.button.titleLabel?.longShadow(4)
}

How it looks like

alt tag

License

WTFPL

Latest podspec

{
    "name": "LongShadow",
    "version": "1.0.0",
    "license": "WTFPL",
    "summary": "UILabel extension to generate dynamic long shadow effects in swift.",
    "homepage": "https://github.com/tib/LongShadow",
    "social_media_url": "http://twitter.com/tiborbodecs",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "*.swift",
    "requires_arc": true,
    "authors": {
        "Tibor Bodecs": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tib/LongShadow.git",
        "tag": "1.0.0"
    }
}

Pin It on Pinterest

Share This