CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | Custom |
| ReleasedLast Release | Jan 2015 |
Maintained by Tomek Kuźma.
Simple rounded corners without images
NSArray *gradientColorsAndLocations = (@[
@{colorKey: [UIColor blackColor],locationKey: @(0.0f)},
@{colorKey: [UIColor lightGrayColor] ,locationKey: @(0.5f)},
@{colorKey: [UIColor whiteColor],locationKey: @(1.0f)}
]);
TKRoundedView *view = [[TKRoundedView alloc] initWithFrame:frame];
view.roundedCorners = TKRoundedCornerTopLeft
view.borderColor = [UIColor greenColor];
view.fillColor = [UIColor whiteColor];
view.gradientColorsAndLocations = gradientColorsAndLocations;
view.gradientDirection = TKGradientDirectionDown;
view.drawnBordersSides = TKDrawnBorderSidesLeft | TKDrawnBorderSidesTop;
view.borderWidth = 5.0f;
view.cornerRadius = 15.0f;
YES
Apache