2013年1月4日

UINavigationController 例子一

摘要: 关于UINavigationController 的原理这里就不介绍了,今天主要是利用一个例子来告诉大家如何使用一个UINavigationController。本文转自 http://www.999dh.net/article/iphone_ios_art/46.html 转载请注明谢谢!1.首先建立一个 Emtpy Application命名为UINavigationController_Demo图12.新建一个CRootViewController,步骤为 File-New-New File-IOS-Cocoa Touch-UIViewController subclass,名字为 CR 阅读全文

posted @ 2013-01-04 10:28 景树园 阅读(309) 评论(0) 推荐(0)

UITabbarController 实例一

摘要: 今天用纯代码来实现UITabbarController的功能,不需要在xib里面使用任何控件本文转自http://www.999dh.net/article/iphone_ios_art/47.html 转载请注明谢谢!1.建立一个 empty application 工程2.在 appdelegate.h文件里面实现如下@interface XYZAppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (retain,nona 阅读全文

posted @ 2013-01-04 10:27 景树园 阅读(264) 评论(0) 推荐(0)

UINavigationController UITabbarController 一起使用实例一

摘要: 在上两篇文章中,我们分别介绍了UINavigationController 与 UITabbarController 的简单使用,当然,除了里面介绍的实现方法外,当然还存在其他的方法去实现。那么,在具备了上两篇文章的基础之后,我想,这里有必要实现一个稍微复杂一点的功能了,这个功能将UINavigationController and UITabbarController结合起来使用本文转自http://www.999dh.net/article/iphone_ios_art/48.html 转载请注明,谢谢!功能实现后的运行效果如下图所示实现如下1.建立一个 empty application 阅读全文

posted @ 2013-01-04 10:26 景树园 阅读(413) 评论(0) 推荐(0)

导航