socket.IO-objc vs. AZSocketIO

微信扫一扫,分享到朋友圈

socket.IO-objc vs. AZSocketIO

From the list of Socket.IO implementations in other languages
, we can see that there are two alternatives written in Objective-C
. My question is related to the pros and the cons of each of these two libraries.

socket.IO-objc
seems more complete and has a better documentation, but I’d also like to know which advantages does AZSocketIO
provide to consider if these advantages are important enough for my project to choose one or the other.

I’d really appreciate it if anyone that has used one of these could give me some advice. Thanks!

Problem courtesy of: IOS_DEV

Solution

AZSocketIO has CocoaPods. That’s a win for me.

Solution courtesy of: Or Arbel

Discussion

From the looks of it, it seems like AZSocketIO implements an automatic reconnection strategy, and SocketIO.objc doesn’t.

Discussion courtesy of: Sebastien

To anyone who come across to this question; please note that both AZSocketIO and socket.IO-objc support maximum 0.9.x and now socket.io has official Swift implementation
.

Discussion courtesy of: ujell

This recipe can be found in it’s original form on Stack Over Flow
.

《冰雪奇缘2》IGN 7分:动画超赞新歌超棒 但问题不少

上一篇

《三体》漫画11月23日上线 三体人的真面貌要揭露了?

下一篇

你也可能喜欢

socket.IO-objc vs. AZSocketIO

长按储存图像,分享给朋友