UIViewShadow 1.0.0

UIViewShadow 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total10,181
Week0
Month0

Installs

Apps67
Test Targets9
powered by Segment

GitHub

Stars5
Watchers1
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 208


  • By
  • Bogdan Iusco

UIView+BIShadow

UIView category for setting shadow.

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];