资源简介
通过AsyncSocket封装的Socket通讯方法,简单实用,通俗易懂,初学者不能错过
代码片段和文件信息
//
// AppDelegate.m
// Socket
//
// Created by beijingduanluo on 15/10/11.
// Copyright (c) 2015年 beijingduanluo. All rights reserved.
//
#import “AppDelegate.h“
#import “SocketViewController.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
self.window =[[UIWindow alloc]initWithframe:[UIScreen mainScreen].bounds];
UINavigationController *nav =[[UINavigationController alloc]initWithRootViewController:[[SocketViewController alloc]init]];
self.window.rootViewController = nav;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-10-12 08:59 Socket\
文件 6148 2015-12-04 13:40 Socket\.DS_Store
目录 0 2015-12-17 17:59 __MACOSX\
目录 0 2015-12-17 17:59 __MACOSX\Socket\
文件 120 2015-12-04 13:40 __MACOSX\Socket\._.DS_Store
目录 0 2015-12-17 17:59 Socket\.git\
目录 0 2015-10-11 10:54 Socket\.git\branches\
文件 137 2015-10-11 10:54 Socket\.git\config
文件 73 2015-10-11 10:54 Socket\.git\desc
文件 23 2015-10-11 10:54 Socket\.git\HEAD
目录 0 2015-10-11 10:54 Socket\.git\hooks\
文件 452 2015-10-11 10:54 Socket\.git\hooks\applypatch-msg.sample
文件 896 2015-10-11 10:54 Socket\.git\hooks\commit-msg.sample
文件 189 2015-10-11 10:54 Socket\.git\hooks\post-update.sample
文件 398 2015-10-11 10:54 Socket\.git\hooks\pre-applypatch.sample
文件 1642 2015-10-11 10:54 Socket\.git\hooks\pre-commit.sample
文件 1348 2015-10-11 10:54 Socket\.git\hooks\pre-push.sample
文件 4951 2015-10-11 10:54 Socket\.git\hooks\pre-reba
文件 1239 2015-10-11 10:54 Socket\.git\hooks\prepare-commit-msg.sample
文件 3611 2015-10-11 10:54 Socket\.git\hooks\update.sample
文件 2329 2015-12-16 15:20 Socket\.git\index
目录 0 2015-10-11 10:54 Socket\.git\info\
文件 40 2015-10-11 10:54 Socket\.git\info\exclude
目录 0 2015-12-17 17:59 __MACOSX\Socket\.git\
目录 0 2015-12-17 17:59 __MACOSX\Socket\.git\info\
文件 171 2015-10-11 10:54 __MACOSX\Socket\.git\info\._exclude
目录 0 2015-12-16 15:20 Socket\.git\ob
目录 0 2015-10-11 10:54 Socket\.git\ob
文件 69 2015-10-11 10:54 Socket\.git\ob
目录 0 2015-10-12 10:31 Socket\.git\ob
文件 177 2015-10-12 10:31 Socket\.git\ob
............此处省略144个文件信息
评论
共有 条评论