随笔分类 -  IOS开发学习

摘要:Splitting big tasks into small tasks is often one of the best ways to solve a problem. Thus, in the next few exercises, we will split each request/met... 阅读全文
posted @ 2015-09-04 21:50 dagon 阅读(324) 评论(0) 推荐(0)
摘要:Putting the keyword static in front of a local variable declaration creates a specialtype of variable, a so-called static local variable. This variabl... 阅读全文
posted @ 2015-08-17 11:11 dagon 阅读(340) 评论(0) 推荐(0)
摘要:func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool { // 创造个除“1234567... 阅读全文
posted @ 2015-08-16 20:59 dagon 阅读(1126) 评论(0) 推荐(0)
摘要:Image Picker Controller@IBAction func experiment() { let controller = UIImagePickerController() self.presentViewController(controller, a... 阅读全文
posted @ 2015-08-15 21:07 dagon 阅读(231) 评论(0) 推荐(0)
摘要:1 UITabBarController *tabBarController =[[UITabBarController alloc] init];2 CGRect frame = self.window.bounds;3 tabBarController.tabBar.frame ... 阅读全文
posted @ 2015-08-13 11:30 dagon 阅读(1601) 评论(0) 推荐(0)