Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 531 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 531 Bytes

#UIView+BIShadow UIView category for setting shadow.

Build Status

##Installation Just drag&drop the UIView+BIShadow.h/m files in your Xcode Project.

##Usage

myView.shadowColor = [UIColor lightGrayColor];
myView.shadowOpacity = 0.8;

// Set shadow above the view.
NSDictionary *shadowDictionary = @{UIViewShadowOffset.top : @(20)};
[myView setShadow:UIViewShadowTop withOffsets:shadowDictionary];