技术文章分类(180)

技术随笔(11)

摘要: 注意:星期三打印4,星期天打印1,星期一打印2 var calendar:NSCalendar = NSCalendar.currentCalendar() var comps:NSDateComponents = calendar.components(NSCalend... 阅读全文
posted @ 2014-07-16 22:56 坤哥MartinLi 阅读(310) 评论(0) 推荐(0) 编辑
摘要: object_getClassName(self.tabBarController.presentingViewController) != "UINavigationController" 阅读全文
posted @ 2014-07-16 22:01 坤哥MartinLi 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 注意:self.datas是数据源就是必须先处理数据源,再进行cell的操作。 func switchButtonAction(isButtonOn:Bool){ self.tableview.beginUpdates() if isButtonOn==true{ ... 阅读全文
posted @ 2014-07-16 14:19 坤哥MartinLi 阅读(1480) 评论(0) 推荐(0) 编辑
摘要: 1,注意设置UIWindow的frame self.window = UIWindow(frame:CGRectMake(0,0,DeviceFrame.width,DeviceFrame.height+StatusBarFrame.height)) self.window.... 阅读全文
posted @ 2014-07-16 10:20 坤哥MartinLi 阅读(191) 评论(0) 推荐(0) 编辑