ADCountDownButton:带有倒数NSTimer的UIButton的子类,用于更改按钮标题

时间:2024-06-09 11:53:37
【文件属性】:

文件名称:ADCountDownButton:带有倒数NSTimer的UIButton的子类,用于更改按钮标题

文件大小:34KB

文件格式:ZIP

更新时间:2024-06-09 11:53:37

Objective-C

ADCountDownButton 带有倒数NSTimer的UIButton的子类,用于更改按钮标题 演示版 用法 ADCountDownButton *countButton = [[ADCountDownButton alloc] initWithFrame:CGRectMake(30, 100, 60, 21)]; countButton.backgroundColor = [UIColor yellowColor]; CALayer *layer = countButton.layer; layer.cornerRadius = 10; countButton.titleLabel.font = [UIFont boldSystemFontOfSize:12]; countButton.titleLabel.adjustsFontSize


【文件预览】:
ADCountDownButton-master
----ADCountDownButton()
--------ADCountDowner.h(1KB)
--------ADCountDownButton.m(5KB)
--------ADCountDowner.m(4KB)
--------ADCountDownButton.h(1KB)
----ADCountDownButtonDEMOTests()
--------ADCountDownButtonDEMOTests.m(916B)
--------Info.plist(746B)
----ScreenShots()
--------screenshot-1.png(30KB)
----LICENSE.md(1KB)
----.gitignore(495B)
----ADCountDownButtonDEMO()
--------main.m(349B)
--------AppDelegate.h(292B)
--------AppDelegate.m(2KB)
--------Base.lproj()
--------ViewController.h(230B)
--------Images.xcassets()
--------Info.plist(1KB)
--------ViewController.m(7KB)
----README.md(2KB)
----ADCountDownButtonDEMO.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(18KB)

网友评论