Shadow 0.2

Shadow 0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jul 2016
SPMSupports SPM

Maintained by Cem Olcay.



Shadow 0.2

  • By
  • cemolcay

Shadow

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.

Usage

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