【文件属性】:
文件名称:JxbScaleButton:倒数按钮
文件大小:59KB
文件格式:ZIP
更新时间:2021-05-17 13:17:44
Objective-C
JxbScaleButton
一个倒计时闪秒的按钮控件
#支持CocoaPods引入
pod 'JxbScaleButton'
#Code
JxbScaleButton* btn = [[JxbScaleButton alloc] initWithFrame:CGRectMake(100, 200, 100, 44)];
btn.layer.cornerRadius = 5;
btn.layer.masksToBounds = YES;
[self.view addSubview:btn];
[self btnAction:btn];
[btn addTarget:self action:@selector(btnAction:) forControlEvents:UIControlEventTouchUpInside];
- (void)btnAction:(id)sender {
【文件预览】:
JxbScaleButton-master
----JxbScaleButton()
--------main.m(333B)
--------JxbScaleButton()
--------AppDelegate.h(276B)
--------AppDelegate.m(2KB)
--------Base.lproj()
--------ViewController.h(214B)
--------Images.xcassets()
--------Info.plist(1KB)
--------ViewController.m(983B)
----screenshot.gif(85KB)
----JxbScaleButton.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(17KB)
--------xcuserdata()
----JxbScaleButtonTests()
--------JxbScaleButtonTests.m(879B)
--------Info.plist(748B)
----JxbScaleButton.podspec(513B)
----LICENSE(1KB)
----README.md(861B)