• 大小: 176KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: 其他
  • 标签:

资源简介

自定义tabbar的功能 实现页面切换 按钮自定义回调 可真机或模拟器运行

资源截图

代码片段和文件信息

//
//  AppDelegate.m
//  NB2
//
//  Created by kohn on 13-11-16.
//  Copyright (c) 2013年 Kohn. All rights reserved.
//

#import “AppDelegate.h“
#import “ViewController.h“

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    ViewController *rootVC = [[ViewController alloc]init];
    self.window.rootViewController = rootVC;
    [self.window makeKeyAndVisible];
    return YES;
}



@end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-11-16 09:55  NB2\
     文件        6148  2013-11-16 11:36  NB2\.DS_Store
     目录           0  2013-11-16 14:07  __MACOSX\
     目录           0  2013-11-16 14:07  __MACOSX\NB2\
     文件         120  2013-11-16 11:36  __MACOSX\NB2\._.DS_Store
     目录           0  2013-11-16 14:07  NB2\.git\
     目录           0  2013-11-16 09:54  NB2\.git\branches\
     文件          15  2013-11-16 09:54  NB2\.git\COMMIT_EDITMSG
     文件         138  2013-11-16 09:54  NB2\.git\config
     文件          73  2013-11-16 09:54  NB2\.git\description
     文件          23  2013-11-16 09:54  NB2\.git\HEAD
     目录           0  2013-11-16 09:54  NB2\.git\hooks\
     文件         452  2013-11-16 09:54  NB2\.git\hooks\applypatch-msg.sample
     文件         896  2013-11-16 09:54  NB2\.git\hooks\commit-msg.sample
     文件         189  2013-11-16 09:54  NB2\.git\hooks\post-update.sample
     文件         398  2013-11-16 09:54  NB2\.git\hooks\pre-applypatch.sample
     文件        1704  2013-11-16 09:54  NB2\.git\hooks\pre-commit.sample
     文件        1348  2013-11-16 09:54  NB2\.git\hooks\pre-push.sample
     文件        4951  2013-11-16 09:54  NB2\.git\hooks\pre-rebase.sample
     文件        1239  2013-11-16 09:54  NB2\.git\hooks\prepare-commit-msg.sample
     文件        3611  2013-11-16 09:54  NB2\.git\hooks\update.sample
     文件        3640  2013-11-16 12:10  NB2\.git\index
     目录           0  2013-11-16 09:54  NB2\.git\info\
     文件          40  2013-11-16 09:54  NB2\.git\info\exclude
     目录           0  2013-11-16 14:07  __MACOSX\NB2\.git\
     目录           0  2013-11-16 14:07  __MACOSX\NB2\.git\info\
     文件         171  2013-11-16 09:54  __MACOSX\NB2\.git\info\._exclude
     目录           0  2013-11-16 09:54  NB2\.git\logs\
     文件         167  2013-11-16 09:54  NB2\.git\logs\HEAD
     目录           0  2013-11-16 09:54  NB2\.git\logs\refs\
     目录           0  2013-11-16 09:54  NB2\.git\logs\refs\heads\
............此处省略204个文件信息

评论

共有 条评论