Simon Shi

放飞梦想,专注于Mobile开发

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: 订阅 订阅 :: 管理 ::

2011年8月30日

摘要: I am sure everybody has heard about Cucumber ( https://github.com/aslakhellesoy/cucumber) – a tool for Behaviour Driver Development where you describe software behavior in natural language that your customer can understand. Through step definitions these behavior descriptions are executed as automated tests. Cucumber serves as documentation, automated tests and development aid. 阅读全文
posted @ 2011-08-30 11:16 Simon Shi 阅读(485) 评论(0) 推荐(0) 编辑

2011年8月26日

摘要: 敏捷宣言遵循的原则 阅读全文
posted @ 2011-08-26 13:55 Simon Shi 阅读(201) 评论(0) 推荐(0) 编辑

摘要: 敏捷软件开发宣言 阅读全文
posted @ 2011-08-26 13:53 Simon Shi 阅读(174) 评论(2) 推荐(1) 编辑

2011年8月22日

摘要: iOS SDK 5.0 provides support for developing iOS applications and includes the complete set of Xcode tools, compilers, and frameworks for creating applications for iOS and Mac OS X. These tools include the Xcode IDE and the Instruments analysis tool among many others. With this software you can develop applications that run on iPhone, iPad, or iPod touch running iOS 5.0. You can also test your applications using the included iOS Simulator, which supports iOS 5.0. There are two Xcode iOS SDK 5. 阅读全文
posted @ 2011-08-22 16:46 Simon Shi 阅读(496) 评论(0) 推荐(0) 编辑

2011年8月17日

摘要: 最近做iPad下的项目需要画一些统计图,比如折线图,直方图,饼图等等,比较常用的就是Core Plot了。Core Plot :http://code.google.com/p/core-plot/可以在这里去获取最新的Core Plot代码或者下载打包文件,具体的文档在documentation目录下面,分别有Mac和iOS的。目前最新的打包文件是 CorePlot_0.4.zip跟原版本相比,配置过程有些简化。1.在项目的目录下面New Group,命名为libraries2.在Binaries目录下的有分别对应iOS和Mac的文件,我这里以iOS为例,将CorePlotHeaders目录 阅读全文
posted @ 2011-08-17 18:46 Simon Shi 阅读(656) 评论(0) 推荐(0) 编辑

摘要: Automatic Reference Counting (ARC), 自动引用计数,是开发Cocoa程序时的一个编译级别的特性,用于自动内存管理。 阅读全文
posted @ 2011-08-17 18:02 Simon Shi 阅读(1502) 评论(3) 推荐(0) 编辑

2011年8月5日

摘要: 在开发当中有时应需求会要求在一个控件上实现响应多种触控的操作,比如一个UIButton,需要你同时处理手指一次点击,两次点击,甚至三次,多次点击的事件,如何处理?虽然从用户的角度出发,也许每个控件都只实现一次点击的事件是最直接的也是最可接受的,每个控件最好都只有单一职责,但是开发当中总会有这样那样的需求不得不去做。下面举个例子: 1 UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 120, 40)]; 2 3 UITapGestureRecognizer *clickOnce = [[UITapGestu. 阅读全文
posted @ 2011-08-05 15:59 Simon Shi 阅读(1038) 评论(0) 推荐(0) 编辑

2011年8月4日

摘要: 今天在博客园开张了我的新博客,也是在我生日的前一天,自己表示下庆祝吧。做程序员这么多年,慢慢的发现,敝帚自珍只会导致技术的没落和生产力的下降,因为开源,因为分享,我们才会慢慢的进步。感谢那些一直以来分享自己心得体会的人,他们所做的事情也许谈不上伟大,但是却实实在在的帮助了很多的人,为程序员的圈子作出了他们自己的贡献。所以我也愿意把我在工作和研究当中的一些心得体会拿出来与有兴趣的人一起分享。希望可以给那些与我遇到相似问题的人一些帮助,大家一起进步。 阅读全文
posted @ 2011-08-04 18:06 Simon Shi 阅读(133) 评论(1) 推荐(0) 编辑