Skip to content

benboecker/ShadowView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UIView subclass with rounded corners and drop shadow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages