iOS 实现多选框:XMMultiSelectView

jopen 9年前

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];

项目主页:http://www.open-open.com/lib/view/home/1448887436717