Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 983 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 983 Bytes

ShadowView

Screenshot

This is a simple UIView subclass that allows for setting both a corner radius and a drop shadow.

Installation

Clone or download the repository and and manually add the file ShadowView.swift to your project and target.

Usage

The shadow view can be used with storyboards or be created in code. The properties for cornerRadius, shadowOffset, shadowRadius, shadowOpacity and shadowColor can be set via Interface Builder.

Update 2016-08-26

This new version uses a simpler solution proposed by wtmoose in Issue 1.

Contact

Mail: [email protected]

Twitter: @BenBoecker

License

ShadowView is available under the MIT License