91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 195KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-14
  • 語言: 其他
  • 標簽: 社交分享??

資源簡介

通過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\description
?????文件??????????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-rebase.sample
?????文件????????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\objects\
?????目錄???????????0??2015-10-11?10:54??Socket\.git\objects\05\
?????文件??????????69??2015-10-11?10:54??Socket\.git\objects\05\d740c00e3207db857b32ed8e70dfcebc945939
?????目錄???????????0??2015-10-12?10:31??Socket\.git\objects\08\
?????文件?????????177??2015-10-12?10:31??Socket\.git\objects\08\c9f3c090ede9f746600bf1c9e6a834aa841662
............此處省略144個文件信息

評論

共有 條評論

相關資源