xindizhiyin2014 / JKUIHelper

this is a tool to help developer to draw UI easily such as shadow,roundCorner,the word link and so on.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JKUIHelper

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

JKUIHelper is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'JKUIHelper'

Author

xindizhiyin2014, 929097264@qq.com

User guide

JKShadow is the feature of the JKUIHelper to draw all kinds of shadow for a view. if you want to use y9u can run the project and select the JKShadow demo youcan see how to use it.

JKRoundCorner is the feature of add roundcorners for a view if you make your is a subclass of JKRoundCorner,you can easily set the corner position and the corner's radius.if not you always set corners use the two function to draw corners

'''

  • (void)jkDrawRoundCornerWithCorners:(UIRectCorner)corners radius:(CGFloat)cornerRadius;

  • (void)jkDrawRoundCornerWithRect:(CGRect)rect Corners:(UIRectCorner)corners radius:(CGFloat)cornerRadius;

'''

License

JKUIHelper is available under the MIT license. See the LICENSE file for more info.

About

this is a tool to help developer to draw UI easily such as shadow,roundCorner,the word link and so on.

License:MIT License


Languages

Language:Objective-C 98.3%Language:Ruby 1.7%