CustomControl:适用于 iOS 的自定义控件

时间:2021-07-14 17:37:34
【文件属性】:
文件名称:CustomControl:适用于 iOS 的自定义控件
文件大小:29KB
文件格式:ZIP
更新时间:2021-07-14 17:37:34
Objective-C 自定义控件 适用于 iOS 的自定义控件 #概述 #用法 无线电控制 初始化一个选项数组: NSArray *arrayOptions = @[@"One", @"Two", @"Three", @"Four", @"Five"]; 初始化 RadioButton 实例: RadioButton *radioButton = [[RadioButton alloc] initWithFrame:CGRectMake(20, 20, 150, 240) andOptions:arrayOptions]; 将子视图添加到您的 ViewController: [self.view addSubview:self.radioButton];
【文件预览】:
CustomControl-master
----CheckBoxControl.m(3KB)
----RadioControl.h(567B)
----checkbox_uncheck.png(648B)
----CustomControl.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(19KB)
----CustomControlTests()
--------Info.plist(741B)
--------CustomControlTests.m(884B)
----radio_check.png(3KB)
----checkbox_check.png(2KB)
----radio_uncheck.png(2KB)
----CheckBoxControl.h(588B)
----README.md(439B)
----CustomControl()
--------ViewController.m(1KB)
--------Info.plist(1KB)
--------main.m(341B)
--------Base.lproj()
--------Images.xcassets()
--------ViewController.h(222B)
--------AppDelegate.h(284B)
--------AppDelegate.m(2KB)
----RadioButton.m(3KB)

网友评论