- Notifications
You must be signed in to change notification settings - Fork2
Easily add drop shadows, borders, and round corners to a UIView.
License
NotificationsYou must be signed in to change notification settings
aaronjsutton/Shades
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Easily add drop shadows, borders, rounded corners to a UIView.
Add the follwing to your Podfile:
pod'Shades'
You can add borders, shadows, and corners via the Xcode Storyboard Editor.
Simply set the custom class of aUIView
toShadesView
You can then customize the shades settings:
Alternatively, you can configure a ShadesView from Swift code directly:
shadeView.cornerRadius=30shadeView.borderWidth=5shadeView.borderColor=UIColor.lightGrayshadeView.shadowColor=UIColor.blackshadeView.shadowOffset=CGSize(width:5, height:5)shadeView.shadowRadius=3shadeView.shadowOpacity=0.8
Would produce:
- Support more UIKit types.
About
Easily add drop shadows, borders, and round corners to a UIView.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.