Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0aa609e

Browse files
author
mengyaoyao
committed
UI部分实现 , 结构调整
1 parent 2b381d7 commit 0aa609e

File tree

104 files changed

+2698
-722
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2698
-722
lines changed

‎CocoaAsyncSocket_TCP.xcodeproj/project.pbxproj

Lines changed: 310 additions & 142 deletions
Large diffs are not rendered by default.

‎CocoaAsyncSocket_TCP/.DS_Store

2 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// AppDelegate+main.h
3+
// CocoaAsyncSocket_TCP
4+
//
5+
// Created by 孟遥 on 2017年5月12日.
6+
// Copyright © 2017年 mengyao. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
@interface AppDelegate (main)
12+
13+
- (void)initMainController;
14+
15+
@end
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// AppDelegate+main.m
3+
// CocoaAsyncSocket_TCP
4+
//
5+
// Created by 孟遥 on 2017年5月12日.
6+
// Copyright © 2017年 mengyao. All rights reserved.
7+
//
8+
9+
#import "AppDelegate+main.h"
10+
#import "ChatNavigationController.h"
11+
#import "ChatListViewController.h"
12+
13+
@implementation AppDelegate (main)
14+
15+
- (void)initMainController
16+
{
17+
self.window = [[UIWindow alloc]initWithFrame:SCREEN_BOUNDS];
18+
ChatListViewController *chatlistVC= [[ChatListViewController alloc]init];
19+
ChatNavigationController *nav = [[ChatNavigationController alloc]initWithRootViewController:chatlistVC];
20+
self.window.rootViewController = nav;
21+
[self.window makeKeyAndVisible];
22+
}
23+
24+
25+
26+
@end

‎CocoaAsyncSocket_TCP/AppDelegate.m renamed to ‎CocoaAsyncSocket_TCP/AppDelegate/AppDelegate.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "AppDelegate.h"
1010
#import "RealReachability.h"
11-
11+
#import"AppDelegate+main.h"
1212

1313
@interface AppDelegate ()
1414

@@ -19,6 +19,8 @@ @implementation AppDelegate
1919

2020
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
2121

22+
//加载主控制器
23+
[self initMainController];
2224
//开启网络监听
2325
[GLobalRealReachability startNotifier];
2426

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "grey_bell@2x.png",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"filename" : "grey_bell@3x.png",
15+
"scale" : "3x"
16+
}
17+
],
18+
"info" : {
19+
"version" : 1,
20+
"author" : "xcode"
21+
}
22+
}
1.45 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /