CocoaAsyncSocket_Demo
CocoaAsyncSocket_Demo copied to clipboard
delegateQueue: dispatch_get_main_queue ?
_chatSocket = [[GCDAsyncSocket alloc]initWithDelegate:self delegateQueue:dispatch_get_main_queue()];
这里用main queue好吗? 用 新create的serial queue如何?
都可以的,不影响的,如果数据量不是过大的话
发件人: wustzhy [email protected] 发送时间: 2017年10月17日 10:30:10 收件人: coderMyy/CocoaAsyncSocket_Demo 抄送: Subscribed 主题: [coderMyy/CocoaAsyncSocket_Demo] delegateQueue: dispatch_get_main_queue ? (#12)
_chatSocket = [[GCDAsyncSocket alloc]initWithDelegate:self delegateQueue:dispatch_get_main_queue()];
这里用main queue好吗? 用 新create的serial queue如何?
― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/coderMyy/CocoaAsyncSocket_Demo/issues/12, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVNHsG4dMHcIowRggBmysw1RMvJzRhPUks5stBExgaJpZM4P7fkD.