10 2011 档案
摘要:先看效果图思路:1. Timer2. Label练习IOS中Timer是NS开头,新增 TestTimer的Project,自动生成在TestTimerAppDelegate.h添加如下在TestTimerAppDelegate.m实现onTimer,同时需要在applicationdidFinishLaunchingWithOptions实例化NSTimer所有实例化的东西需要dealloc在TestTimerViewController.h如下countdownLabel为 View中输出的UILable的名称在TestTimerViewController.m实现updateLabel效
阅读全文