XMMultiSelectView iOS 实现多选框

程序名称:XMMultiSelectView

授权协议: MIT

操作系统: iOS

开发语言: Objective-C

XMMultiSelectView 介绍

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 运行查看。

XMMultiSelectView 官网

https://github.com/xumeng/XMMultiSelectView

相关编程语言

Acapela TTS 是一个为 iPhone 和 iPad 开发的 TTS 引...
二维码(QR Code)扫描静态库,扫描效率较高。
RegexKitLite 是一个轻量级的 Objective-C 的正则表...
一款基于ASIHttpReques开源的仿迅雷多线程断点续传功...
实现动态检测网络(wifi)状况,不需要用户手动刷新...
使用iphoneSDK官方NSXMLParserDelegate做的简单xml解...