Latest 1.0.4
Homepage https://github.com/Damsir/DistSlideSegment
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

slide segment
usage:
// 项目信息 infoVC = [[ProjectInfoVC alloc] init];
// 取证材料 materialVC = [[ProjectMaterialVC alloc] init];

NSArray viewsArray = @[infoVC.view,materialVC.view]; NSArray titlesArray = @[@"项目信息",@"取证材料"];

slideSegment = [[DistSlideSegment alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT-64) controllerViewsArray:viewsArray titlesArray:titlesArray]; slideSegment.backgroundColor = [UIColor whiteColor];
[self.view addSubview:slideSegment];

Latest podspec

{
    "name": "DistSlideSegment",
    "version": "1.0.4",
    "summary": "u5206u6bb5u6ed1u52a8u7ec4u4ef6uff1a1u3001u5bfcu822au680fu6837u5f0f 2u3001u666eu901au6837u5f0f",
    "authors": {
        "Damrin": "[email protected]"
    },
    "homepage": "https://github.com/Damsir/DistSlideSegment",
    "source": {
        "git": "https://github.com/Damsir/DistSlideSegment.git",
        "tag": "1.0.4"
    },
    "license": "MIT",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": [
        "DistSlideSegment",
        "DistSlideSegment/**/*.{h,m,xib}"
    ],
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This