ios-iOS 实现多选框.zip

时间:2022-07-31 13:38:20
【文件属性】:

文件名称:ios-iOS 实现多选框.zip

文件大小:47KB

文件格式:ZIP

更新时间:2022-07-31 13:38:20

分段选择

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


【文件预览】:
XMMultiSelect
----XMMultiSelect.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(17KB)
--------xcuserdata()
----XMMultiSelectTests()
--------XMMultiSelectTests.m(878B)
--------Info.plist(751B)
----XMMultiSelect()
--------AppDelegate.h(278B)
--------ViewController.h(216B)
--------Base.lproj()
--------XMMultiSelectView()
--------main.m(335B)
--------Images.xcassets()
--------Info.plist(1KB)
--------check.png(994B)
--------AppDelegate.m(2KB)
--------.DS_Store(6KB)
--------ViewController.m(4KB)
----.DS_Store(6KB)

网友评论