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

  • 大小: 267KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-11
  • 語言: 其他
  • 標(biāo)簽: iOS??

資源簡(jiǎn)介

iOS使用CocoaAsyncSocket連接打印機(jī)打印小票,demo封裝了socket連接管理類,打印機(jī)指令管理類.

資源截圖

代碼片段和文件信息

//
//??AppDelegate.m
//??SocketPrinter
//
//??Created?by?rochang?on?2017/11/6.
//??Copyright???2017年?Rochang?All?rights?reserved.
//

#import?“AppDelegate.h“

@interface?AppDelegate?()

@end

@implementation?AppDelegate


-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????//?Override?point?for?customization?after?application?launch.
????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?invalidate?graphics?rendering?callbacks.?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?active?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

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-11-06?17:48??SocketPrinter\
?????文件????????6148??2017-11-09?16:45??SocketPrinter\.DS_Store
?????目錄???????????0??2017-11-09?16:45??__MACOSX\
?????目錄???????????0??2017-11-09?16:45??__MACOSX\SocketPrinter\
?????文件?????????120??2017-11-09?16:45??__MACOSX\SocketPrinter\._.DS_Store
?????目錄???????????0??2017-11-09?16:44??SocketPrinter\.git\
?????文件??????????15??2017-11-06?17:47??SocketPrinter\.git\COMMIT_EDITMSG
?????文件?????????137??2017-11-06?17:47??SocketPrinter\.git\config
?????文件??????????73??2017-11-06?17:47??SocketPrinter\.git\description
?????文件??????????23??2017-11-06?17:47??SocketPrinter\.git\HEAD
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\hooks\
?????文件?????????177??2017-11-06?17:47??SocketPrinter\.git\hooks\README.sample
?????文件????????2900??2017-11-09?16:44??SocketPrinter\.git\index
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\info\
?????文件??????????40??2017-11-06?17:47??SocketPrinter\.git\info\exclude
?????目錄???????????0??2017-11-09?16:45??__MACOSX\SocketPrinter\.git\
?????目錄???????????0??2017-11-09?16:45??__MACOSX\SocketPrinter\.git\info\
?????文件?????????171??2017-11-06?17:47??__MACOSX\SocketPrinter\.git\info\._exclude
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\logs\
?????文件?????????159??2017-11-06?17:47??SocketPrinter\.git\logs\HEAD
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\logs\refs\
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\logs\refs\heads\
?????文件?????????159??2017-11-06?17:47??SocketPrinter\.git\logs\refs\heads\master
?????目錄???????????0??2017-11-09?16:44??SocketPrinter\.git\objects\
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\objects\02\
?????文件??????????58??2017-11-06?17:47??SocketPrinter\.git\objects\02\6d393f0a891b0c5a1e37dcb9a8706c2c4e5ff0
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\objects\05\
?????文件?????????132??2017-11-06?17:47??SocketPrinter\.git\objects\05\9c29c7ef2e999b12e01fc4a98a7812fa646530
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\objects\0a\
?????文件????????2868??2017-11-06?17:47??SocketPrinter\.git\objects\0a\f1219879d39f4a25b0af72224fd7bedaaf01c5
?????目錄???????????0??2017-11-06?17:47??SocketPrinter\.git\objects\16\
............此處省略141個(gè)文件信息

評(píng)論

共有 條評(píng)論