PNKit 0.8.0

PNKit 0.8.0

Maintained by Pino1.



PNKit 0.8.0

  • By
  • P1nov

PNKit

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

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

pod 'PNKit'

Author

P1nov, [email protected]. WeChat:Fyair000

License

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

Use

PNCarouselView

Use like UITableView. It has two protocol, you should implement two of those functions in where you used it

- (NSInteger)numberOfImageInCarouselView;
- (UIImage *)carouselViewImageInEachIndex:(NSInteger)index;

这是一个轮播图的封装 可以直接使用 用法类似于UITableView

UIColor (category)

there is a category for UIColor, I turn the hex number for UIColor, so you can only use

+ (UIColor *)colorWithRGB:(unsigned int)hex;

to set color you want!

这是一个UIColor的分类, 你可以直接使用RGB形式的数据设置颜色!

I will update this pod in a long time, thanks for using it and star it please~

我会一直更新这个pod库, 谢谢你们的stars和使用哦~