Latest 2.0.3
Homepage https://github.com/zac-wang/CocoapodsLibrary
License Copyright Zac Inc. 2017
Platforms ios 8.0, requires ARC
Frameworks Foundation, UIKit
Authors
对iOS常用功能进行封装,提交开发效率,降低多项目的维护难度

Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :iOS, '8.0'

target 'TargetName' do
pod 'ZCEasyLibrary', '~>2.0.1'
end

代码使用示例

//无限滚动Banner
ZCBannerView *banerScrollView = [[ZCBannerView alloc] initWithFrame:CGRectMake(0, 240, self.view.frame.size.width, 200)];
[self.view addSubview:banerScrollView];
[self.banerScrollView zc_initBanner:[[NSBundle mainBundle] pathsForResourcesOfType:@"png" inDirectory:@"main_banner.bundle"]];
self.banerScrollView.zc_selectImageView = ^(UIImageView *imgView, NSInteger index) {
    NSLog(@"您选中了第%ld张banner", (long)index);
};
//设置圆角
[view zc_drawCornerRadius:0 borderWidth:1 borderColor:UIColorFromRGB(0xa3b1c4)];
//根据view样式生成对应的图片
UIImage *img = view.zc_screenCapture;

更多功能请查看framework头文件

Latest podspec

{
    "name": "ZCEasyLibrary",
    "version": "2.0.3",
    "summary": "ZCEasyLibrary Kit",
    "description": "ZCEasyLibrary u62d3u5c55u5e93+UIu5e93",
    "platforms": {
        "ios": "8.0"
    },
    "license": {
        "type": "Copyright",
        "text": "Zac Inc. 2017"
    },
    "homepage": "https://github.com/zac-wang/CocoapodsLibrary",
    "authors": {
        "u738bu5fd7u8d85": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zac-wang/CocoapodsLibrary.git",
        "tag": "2.0.3"
    },
    "source_files": [
        "Library/EasyLibrary/**/*.{h,m,c,mm}",
        "Library/ZCEasyLibrary/**/*.{h,m,c,mm}"
    ],
    "public_header_files": [
        "Library/EasyLibrary/**/*.{h}",
        "Library/ZCEasyLibrary/**/*.{h}"
    ],
    "private_header_files": [
        "Library/EasyLibrary/ZCMutableDeepCopy/NSNumber+MutableDeepCopy.h",
        "Library/ZCEasyLibrary/ZCBannerView/ZCBannerImageView.h"
    ],
    "requires_arc": true,
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "libraries": "z"
}

Pin It on Pinterest

Share This