摘要: http://www.cnblogs.com/GarveyCalvin/p/4193963.html前言:在开发APP中,我们会经常使用到动画效果。使用动画可以让我们的APP更酷更炫,最重要的是优化用户体验,但取决于动画的质量。像QQ、微信、新浪微博等APP,动画效果就很好了,至少我很喜欢它们的动画... 阅读全文
posted @ 2016-01-15 23:39 北狐 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 首先这个枚举属于UIViewAnimation。我们经常使用的函数是[UIView animateWithDuration: animations:^{} completion:^(BOOL finished) {}];和[UIView animateWithDuration: animations... 阅读全文
posted @ 2016-01-15 21:24 北狐 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 实现的主要代码如下:CATransition*transition=[CATransitionanimation]; transition.duration=1.0f; transition.timingFunction=[CAMediaTimingFunctionfunctionWithName:... 阅读全文
posted @ 2016-01-15 21:22 北狐 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 视图切换,没有NavigationController的情况下,一般会使用presentViewController来切换视图并携带切换时的动画,其中切换方法如下:– presentViewController:animated:completion: 弹出,出现一个新视图 可以带动画效果,完成后可... 阅读全文
posted @ 2016-01-15 21:18 北狐 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 在iOS5和iOS6前,View Controller的切换主要有4种:1. Push/Pop,NavigationViewController常干的事儿2. Tab,TabViewController点击3. Present Modal,调用ViewController的presentViewCo... 阅读全文
posted @ 2016-01-15 13:44 北狐 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1.网络请求报错。升级Xcode 7.0发现网络访问失败。输出错误信息The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.... 阅读全文
posted @ 2016-01-15 02:47 北狐 阅读(251) 评论(0) 推荐(0) 编辑
摘要: iOS 7 和 Mac OS X 10.9 Mavericks 中一个显著的变化就是对 Foundation URL 加载系统的彻底重构。现在已经有人在深入苹果的网络层基础架构的地方做研究了,所以我想是时候来分享一些对于我对于这些新的 API 的看法和心得了,新的 API 将如何影响我们编写程序,以... 阅读全文
posted @ 2016-01-15 01:37 北狐 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 01/141.宏定义 返回值?2.NSUrlSession和NSUrlConnection的区别?01/191.最好不好用 UISearchDisplayController限制太大。2.UITableView遍历子视图的大小,会影响系统调用左划删除的代理。01/211.自定义cell的高度(优化)... 阅读全文
posted @ 2016-01-15 01:33 北狐 阅读(117) 评论(0) 推荐(0) 编辑