随笔分类 -  iOS

摘要:项目中,要在UITableViewCell区分不同的点击区域,比如左边点击执行某个操作,右边点击执行另一个操作。原本我的方案是在cell的左边和右边各放一个透明的UIButton,点击两个button执行不同的操作,而controller中的didSelectRowAtIndexPath函数就设为空... 阅读全文
posted @ 2014-08-04 18:29 pinkong 阅读(3170) 评论(0) 推荐(0)
摘要:NSTimer是不一定准时的,是有可能被delay的,每次间隔的时间是不一定一样的。A repeating timer reschedules itself automatically based on the scheduled firing time, not the actual firing... 阅读全文
posted @ 2014-05-23 11:41 pinkong 阅读(578) 评论(0) 推荐(0)