博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年1月15日

摘要: 1.When an event occurs, an object posts an appropriate notification to the notification center. (See “Posting a Notification” for more on posting notifications.) The notification center dispatches a message to each registered observer, passing the notification as the sole argument. It is possible f. 阅读全文

posted @ 2013-01-15 19:22 酸梅拯救地球 阅读(186) 评论(0) 推荐(0)

2013年1月10日

摘要: http://blog.csdn.net/mengtnt/article/details/6716289http://blog.sina.com.cn/s/blog_6ae8b50d0100qb1b.htmlhttp://www.cocoachina.com/bbs/read.php?tid=99707&page=1 阅读全文

posted @ 2013-01-10 14:39 酸梅拯救地球 阅读(120) 评论(0) 推荐(0)

2013年1月9日

摘要: 原文http://blog.csdn.net/totogo2010/article/details/7669837AnNSBundleobject represents a location in the file system that groups code and resources that can be used in a program.NSBundleobjects locate program resources, dynamically load and unload executable code, and assist in localization. You build 阅读全文

posted @ 2013-01-09 11:02 酸梅拯救地球 阅读(122) 评论(0) 推荐(0)

2012年12月26日

摘要: 转自http://blog.csdn.net/yhawaii/article/details/7442529nil:A null pointer to an Objective-Cobject.( #define nil ((id)0) )Nil: A null pointer to an Objective-Cclass.NULL: A null pointer to anything else, isforC-style memory pointers.( #define NULL ((void *)0) )NSNull: A class defines a singleton objec 阅读全文

posted @ 2012-12-26 17:44 酸梅拯救地球 阅读(210) 评论(0) 推荐(0)

摘要: 1.For each view controller you choose to preserve, you also need to decide on how you want to restore it later. UIKit offers two ways to recreate objects. You can let your app delegate recreate it or you can assign a restoration class to the view controller and let that class recreate it. Arestorati 阅读全文

posted @ 2012-12-26 12:11 酸梅拯救地球 阅读(127) 评论(0) 推荐(0)

2012年12月24日

摘要: 1.This is a unique instance ofUINavigationItemcreated to represent the view controller when it is pushed onto a navigation controller. The first time the property is accessed, theUINavigationItemobject is created. Therefore, you shouldn’t access this property if you are not using a navigation contro 阅读全文

posted @ 2012-12-24 14:55 酸梅拯救地球 阅读(232) 评论(0) 推荐(0)

摘要: 1.When you present a modal view controller, the system creates a relationship between the view controller that did the presenting and the view controller that was presented. Specifically, the view controller that did the presenting updates itspresentedViewControllerproperty to point to its presented 阅读全文

posted @ 2012-12-24 10:46 酸梅拯救地球 阅读(220) 评论(0) 推荐(0)

2012年12月21日

摘要: toolbarThe custom toolbar associated with the navigation controller. (read-only)@property(nonatomic,readonly)UIToolbar*toolbarDiscussionThis property contains a reference to the built-in toolbar managed by the navigation controller. Access to this toolbar is provided solely for clients that want to 阅读全文

posted @ 2012-12-21 16:12 酸梅拯救地球 阅读(260) 评论(0) 推荐(0)

2012年12月5日

摘要: 1.Table View’s Content Typea. dynamic prototype Use a dynamic prototype when multiple cells in a table should use the same layout to display information. Dynamic content is managed by the table view data source (the table view controller) at runtime, with an arbitrary number of cells.b. static cont. 阅读全文

posted @ 2012-12-05 16:59 酸梅拯救地球 阅读(326) 评论(0) 推荐(0)

摘要: 1.从源视图到目的视图的数据传输Storyboards make it easy to pass data from one scene to another via theprepareForSegue:sender:method of theUIViewControllerclass. This method is called when the first scene (the source) is about to transition to the next scene (the destination). The source view controller can impleme 阅读全文

posted @ 2012-12-05 15:31 酸梅拯救地球 阅读(567) 评论(0) 推荐(0)