简体   繁体   English

用于 iOS 9 SDK Objective-C 的 WebSockets 客户端

[英]WebSockets client for iOS 9 SDK Objective-C

Could any one suggest the best way to implement web sockets in iOS.任何人都可以提出在 iOS 中实现 Web 套接字的最佳方法。 I need to build using base sdks iOS 9 or above.我需要使用基本 sdks iOS 9 或更高版本进行构建。 Found her web socket client for iOS.找到了她的 iOS 网络套接字客户端。 ( https://github.com/square/SocketRocket ). https://github.com/square/SocketRocket )。 Also read a thread on this here http://www.elabs.se/blog/66-using-websockets-in-native-ios-and-android-apps .还可以在http://www.elabs.se/blog/66-using-websockets-in-native-ios-and-android-apps阅读有关此内容的主题。 Can I use it for a project with base sdks iOS 9 and above?我可以将它用于具有基本 sdks iOS 9 及更高版本的项目吗? Is it the best solution for implementing the web socket in iOS?它是在 iOS 中实现 web socket 的最佳解决方案吗? Also in the required libraries, libicucore.dylib is seen and will it be possible to include the library in Xcode 7 and above?同样在所需的库中,可以看到 libicucore.dylib,是否可以在 Xcode 7 及更高版本中包含该库?

我使用 JetFire https://github.com/acmacalister/jetfire创建了这个简单的多人游戏,我使用 NodeJS 作为后端对AzureRedHatHeroku进行了测试。

I figured I would put this here, I created an iOS/Objective-C package for handling TLS with the new iOS 13 restrictions.我想我会把它放在这里,我创建了一个 iOS/Objective-C 包,用于处理具有新 iOS 13 限制的 TLS。 Give it a shot if you are having trouble, it should be pretty easy to use.如果您遇到问题,请试一试,它应该很容易使用。 Contribute if possible!如果可能,请贡献!

https://github.com/eamonwhiter73/IOSObjCWebSockets https://github.com/eamonwhiter73/IOSObjCWebSockets

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM