1.

- (void) animate
{
[UIView animateWithDuration:0.9 animations:^{ CGAffineTransform transform = CGAffineTransformMakeScale(2.5, 2.5);
self.countdownLabel.transform = transform;
self.countdownLabel.alpha = ; } completion:^(BOOL finished) {
if (finished) { if (self.currentCountdownValue == ) {
[self stop];
if (self.delegate) {
[self.delegate countdownFinished:self];
[self removeFromSuperview];
} } else { self.countdownLabel.transform = CGAffineTransformIdentity;
self.countdownLabel.alpha = 1.0; self.currentCountdownValue--;
if (self.currentCountdownValue == ) {
self.countdownLabel.text = self.finishText;
} else {
self.countdownLabel.text = [NSString stringWithFormat:@"%d", self.currentCountdownValue ];
}
}
}
}];
}

https://github.com/simpliflow/SFCountdownView

最新文章

  1. mono for android 获取手机照片或拍照并裁剪保存
  2. 山东省第七届ACM省赛------Fibonacci
  3. 第一个python实例--监控cpu
  4. JS技术大全(防止复制,粘贴等)
  5. Android 7.0 UICC 分析(二)
  6. 利用PBFunc在Powerbuilder中支付宝当面付功能
  7. iOS - 日期的时间差(某年某月某日的某一天。。。)
  8. 局域网内搭建git
  9. POJ 3484
  10. jQuery中append、insertBefore、after与insertAfter方法注意事项
  11. Objective-C基础笔记一
  12. FindStringExact
  13. 动态规划——区间dp
  14. 用lsb_release -a 查看linux版本
  15. Java中的volatile的作用和synchronized作用
  16. eclipse下启动tomcat访问网址报404错误
  17. TensorFlow从入门到理解(二):你的第一个神经网络
  18. 【翻译】Nginx的HTTP负载均衡
  19. group_concat的使用以及乱码
  20. u-boot之ARM920T的start.S分析

热门文章

  1. SCRUM 12.14
  2. Linux第一周学习总结——计算机是如何工作的
  3. 《实时控制软件设计》之Automation Studio开发环境
  4. Data Plane
  5. 第三次spring冲刺2
  6. deepin 下mysql编码问题utf8的解决
  7. 蜗牛慢慢爬 LeetCode 23. Merge k Sorted Lists [Difficulty: Hard]
  8. array_pop()方法
  9. Java超类-java.lang.object
  10. idea中 读取mybatis的配置文件时候 如果放在文件下面 需要加上路径