Latest 0.2
Homepage https://github.com/cemolcay/Shadow
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

A simple object for adding/removing shadows from your CALayers or UIViews.
You don’t need to define or edit all shadow properties line by line anymore.

Install

CocoaPods

use_frameworks!
pod 'Shadow'

Usage

// Create default shadow.
let shadow = Shadow()
// Add shadow
view.applyShadow(shadow: shadow)
// Remove shadow
view.applyShadow(shadow: nil)

Latest podspec

{
    "name": "Shadow",
    "version": "0.2",
    "summary": "A simple object for adding/removing shadows from your `CALayer`s or `UIView`s.",
    "description": "Shadown===nnA simple object for adding/removing shadows from your `CALayer`s or `UIView`s.nYou don't need to define or edit all shadow properties line by line anymore.nnInstalln----nn#### CocoaPodsnn``` rubynuse_frameworks!npod 'Shadow'n```nnUsagen----nn``` swiftn// Create default shadow.nlet shadow = Shadow()n// Add shadownview.applyShadow(shadow: shadow)n// Remove shadownview.applyShadow(shadow: nil)n```",
    "homepage": "https://github.com/cemolcay/Shadow",
    "license": "MIT",
    "authors": {
        "cemolcay": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/cemolcay/Shadow.git",
        "tag": "0.2"
    },
    "source_files": "Shadow/Shadow.swift",
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This