摘要: $ git config --global user.name "Your Name"$ git config --global user.email "email@example.com"$ git remote add origin https://XXXX $ git initgit add ... 阅读全文
posted @ 2015-07-12 02:36 JonyFang 阅读(753) 评论(0) 推荐(0) 编辑
摘要: 导航栏高度获取1 self.navigationController.navigationBar.frame.size.height状态栏高度获取1 [UIApplication sharedApplication].statusBarFrame.size.height标签栏高度获取1 tabVie... 阅读全文
posted @ 2015-06-10 01:16 JonyFang 阅读(1905) 评论(0) 推荐(0) 编辑
摘要: 首先,我们聊聊MVC是什么。MVC(Model - View - Controller)是一种软件架构思想,按照模型、视图、控制器来划分。模型负责封装业务处理逻辑,视图负责显示及用户交互,控制器负责协调模型和视图。 那么MVC分别都有什么作用呢? Model:模型负责维护数据并提供数据访问方... 阅读全文
posted @ 2015-05-27 20:00 JonyFang 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 云计算引出了大量的开放平台,各种第三方应用建立在开放平台之上,出于安全性的要求便出现了oauth协议,2007年发布了Oauth1.0协议,2.0的草案与2011年发布。1、2.0的用户授权过程(过程可参考流程图)引导用户到授权服务器,请求用户授权,用户授权后返回授权码(Authorization ... 阅读全文
posted @ 2015-05-22 12:02 JonyFang 阅读(4048) 评论(0) 推荐(0) 编辑
摘要: Extend the scope of the Code Snippet library by creating custom snippets. The Code Snippet library provides a number of useful standard snippets. You ... 阅读全文
posted @ 2015-05-18 16:19 JonyFang 阅读(119) 评论(0) 推荐(0) 编辑