类的实现
来源:互联网 发布:美国的华莱士 知乎 编辑:程序博客网 时间:2024/06/16 05:41
//
// UIViewSampleAppDelegate.m
// UIViewSample
//
// Created by user00 on 8/3/11.
// Copyright __MyCompanyName__ 2011. All rights reserved.
//
#import "UIViewSampleAppDelegate.h"
#import "RootViewController.h"
@implementation UIViewSampleAppDelegate
- (void)dealloc {
[navigationController_ release];
[window_ release];
[super dealloc];
}
- (void)applicationDidFinishLaunching:(UIApplication *)application {
CGRect frame = [[UIScreen mainScreen] bounds];
window_ = [[UIWindow alloc] initWithFrame:frame];
id rootViewController = [[[RootViewController alloc] init] autorelease];
navigationController_ = [[UINavigationController alloc] initWithRootViewController:rootViewController];
[navigationController_ setNavigationBarHidden:YES animated:NO];
[window_ addSubview:navigationController_.view];
[window_ makeKeyAndVisible];
}
@end
// UIViewSampleAppDelegate.m
// UIViewSample
//
// Created by user00 on 8/3/11.
// Copyright __MyCompanyName__ 2011. All rights reserved.
//
#import "UIViewSampleAppDelegate.h"
#import "RootViewController.h"
@implementation UIViewSampleAppDelegate
- (void)dealloc {
[navigationController_ release];
[window_ release];
[super dealloc];
}
- (void)applicationDidFinishLaunching:(UIApplication *)application {
CGRect frame = [[UIScreen mainScreen] bounds];
window_ = [[UIWindow alloc] initWithFrame:frame];
id rootViewController = [[[RootViewController alloc] init] autorelease];
navigationController_ = [[UINavigationController alloc] initWithRootViewController:rootViewController];
[navigationController_ setNavigationBarHidden:YES animated:NO];
[window_ addSubview:navigationController_.view];
[window_ makeKeyAndVisible];
}
@end
0 0
- CCtrlView类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- InputStream类的实现
- CAtlModule类的实现
- javascript类的实现
- 类的实现
- javascript类的实现
- 实现枚举的类
- 存储类的实现
- javascript 类的实现
- Android布局之LinearLayout
- linux c socket client与server实例代码
- 基于visual Studio2013解决面试题之1207堆排序
- 运放、带宽相关知识
- 类的声明
- 类的实现
- c++面试宝藏。。。。。
- 磁珠和电感的区别与联系
- JavaScript基础与DOM、BOM
- 从饭店谈起,看支付宝Zqueue系统如何应对双11
- Python学习札记(0)——Python开发环境搭载
- source汇编支持
- rtp学习
- 通用makefile是如何炼成的(V)