Simon Shi

放飞梦想,专注于Mobile开发

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

2012年9月27日

摘要: From:http://longweekendmobile.com/2011/04/15/unit-testing-in-xcode-4-use-ocunit-and-sentest-instead-of-ghunit/Who should read this article: If you develop for iOS and you unit test, this is for you. I compareGHUnitwith the revamped, Xcode 4-integrated OCUnit/SenTestingKit, and provide recommendation 阅读全文
posted @ 2012-09-27 15:57 Simon Shi 阅读(479) 评论(0) 推荐(0) 编辑

摘要: From:http://longweekendmobile.com/2011/02/23/tdd-best-practices-testing-in-ios4-with-ghunit-part-1/EDIT: This post is still relevant and useful for installing/setting up unit tests on iOS with GHUnit. However, as of Xcode 4, we have also begun using OCUnit again. See the articlediscussing which one 阅读全文
posted @ 2012-09-27 15:54 Simon Shi 阅读(392) 评论(0) 推荐(0) 编辑

2012年9月26日

摘要: Recently I am working on migrate an old and complex project to ARC, I have learned some knowledges about ARC and reprinted some useful topics before, but I still have some barriers. After I solve these issues, I decide to write it down as a record. Not every tip is written by myself, some tips are from internet. Although I have the same problems as others, but I think their language description is better than me. If I find any new tips about ARC I will update to this article. 阅读全文
posted @ 2012-09-26 16:52 Simon Shi 阅读(2353) 评论(0) 推荐(0) 编辑

2012年9月25日

摘要: For iOS 5:You should use shouldAutorotateToInterfaceOrientation: method of UIViewController, but it’s depredated in iOS6.For iOS 6;You should set interface orientations in project's summary setting or Info.plist. If necessary, you should use the supportedInterfaceOrientationsForWindow: and shoul 阅读全文
posted @ 2012-09-25 16:39 Simon Shi 阅读(320) 评论(0) 推荐(0) 编辑

摘要: This article summarizes the key developer-related features introduced in iOS 6. This version of the operating system runs on current iOS-based devices. In addition to describing the key new features, this article lists the documents that describe those features in more detail.For late-breaking news 阅读全文
posted @ 2012-09-25 15:54 Simon Shi 阅读(424) 评论(0) 推荐(0) 编辑

2012年9月18日

摘要: From: http://www.raywenderlich.com/19788/how-to-use-nsoperations-and-nsoperationqueuesThis is a blog post by Soheil Moayedi Azarpour, an independent iOS developer.Everyone has had the frustrating experience of tapping a button or entering some text in an iOS or Mac app, when all of a sudden – WHAM, 阅读全文
posted @ 2012-09-18 09:42 Simon Shi 阅读(423) 评论(0) 推荐(0) 编辑

2012年9月17日

摘要: From: http://www.raywenderlich.com/13271/how-to-draw-graphs-with-core-plot-part-2This is a blog post by iOS Tutorial Team member Steve Baranski, the founder of komorka technology, a provider of iOS development and consulting services.Welcome to the second part of the Core Plot tutorial series!In the 阅读全文
posted @ 2012-09-17 15:13 Simon Shi 阅读(426) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/13269/how-to-draw-graphs-with-core-plot-part-1This is a blog post by iOS Tutorial Team member Steve Baranski, the founder of komorka technology, a provider of iOS development and consulting services.If you’ve ever wanted to include charts or graphs in your app, cha 阅读全文
posted @ 2012-09-17 15:12 Simon Shi 阅读(431) 评论(0) 推荐(0) 编辑

2012年9月12日

摘要: From: http://www.raywenderlich.com/17927/how-to-synchronize-core-data-with-a-web-service-part-2This is a post by iOS Tutorial Team Member Chris Wagner, an enthusiast in software engineering always trying to stay ahead of the curve.Welcome back to our 2-part tutorial series on how to synchronize core 阅读全文
posted @ 2012-09-12 16:11 Simon Shi 阅读(346) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/15916/how-to-synchronize-core-data-with-a-web-service-part-1This is a post by iOS Tutorial Team Member Chris Wagner, an enthusiast in software engineering always trying to stay ahead of the curve.A lot of apps that store their data in a remote database only work wh 阅读全文
posted @ 2012-09-12 16:10 Simon Shi 阅读(348) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/1914/how-to-save-your-app-data-with-nscoding-and-nsfilemanagerThere are many different ways to save your data to disk in iOS – raw file APIs, Property List Serialization, SQLite, Core Data, and of course NSCoding.For apps with heavy data requirements, Core Data is 阅读全文
posted @ 2012-09-12 16:09 Simon Shi 阅读(235) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/12170/core-data-tutorial-how-to-preloadimport-existing-data-updatedNote from Ray: iOS Tutorial Team member Adam Burkepile has kindly updated the Core Data series to iOS 5 – I’ll post an announcement about it in a bit.This tutorial was completely rewritten in order 阅读全文
posted @ 2012-09-12 16:06 Simon Shi 阅读(331) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/999/core-data-tutorial-how-to-use-nsfetchedresultscontrollerUpdate 4/17/12: Fully updated for iOS 5 (original post by Ray Wenderlich, update by Adam Burkepile).This is the third and final part of a series to help get you up to speed with the basics of Core Data qui 阅读全文
posted @ 2012-09-12 16:05 Simon Shi 阅读(267) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/14742/core-data-on-ios-5-tutorial-how-to-work-with-relations-and-predicatesThis is a post by iOS Tutorial Team member Cesare Rocchi, a UX designer and developer specializing in web and mobile applications.Good news – by popular request, we now have a 4th part to ou 阅读全文
posted @ 2012-09-12 16:04 Simon Shi 阅读(382) 评论(0) 推荐(0) 编辑

摘要: From: http://www.raywenderlich.com/934/core-data-on-ios-5-tutorial-getting-startedUpdate 4/17/12: Fully updated for iOS 5 (original post by Ray Wenderlich, update by Adam Burkepile).Of all of the ways to persist data on the iPhone, Core Data is the best one to use for non-trivial data storage. It ca 阅读全文
posted @ 2012-09-12 16:01 Simon Shi 阅读(206) 评论(0) 推荐(0) 编辑