XMMultiSelectView - iOS 实现多选框


MIT
iOS
Objective-C

软件简介

XMMultiSelectView 是 iOS 几行代码实现多选框效果。

示例:

NSMutableArray *countryTitleList = [NSMutableArray arrayWithArray:@[ @"Country", @"China", @"England", @"France" ]];

XMMultiSelectView *countrySelectView = [[XMMultiSelectView alloc]
initWithAllParameters:CGRectMake(startX, startY, commonWidth, commonHeight*countryTitleList.count)
itemsCount:countryTitleList.count
itemHeight:commonHeight
titleList:countryTitleList];

[self.view addSubview:countrySelectView];


具体效果请下载 demo 运行查看。