简体   繁体   English

如何在swift 2.0或更高版本中使用SignalR?

[英]how to use SignalR in swift 2.0 or later?

I was in search for document or a sample that shows how to use SignalR in iOS with swift 2.0 or later , but didn't find any until now so I am not able to provide any code here. 我正在搜索文档或示例,演示如何在swift 2.0或更高版本的iOS中使用SignalR,但直到现在才找到任何代码,所以我无法在此处提供任何代码。 I am looking for sample code. 我正在寻找示例代码。 I am Using Xcode 7.2 Swift 2.1.1. 我正在使用Xcode 7.2 Swift 2.1.1。 Asp.net mvc 4 as Backend.Later I have found some libraries like DyKnow/SignalR-ObjC and adamhartford/SwiftR but as a newbie with Swift I don't know which one Suits my Project(Creating a Chat Application that contains only Group Chats with file sharing like photos , videos etc) and how to implement the library. Asp.net mvc 4作为Backend.Later我找到了一些像DyKnow / SignalR-ObjCadamhartford / SwiftR这样的库,但作为Swift的新手,我不知道哪一个适合我的项目(创建一个只包含Group Chats的聊天应用程序)与文件共享,如照片,视频等)以及如何实现库。 So looking forward for some sample on how to use SignalR with swift 所以期待一些关于如何使用swift使用SignalR的示例

Hmmm... I tried adamhartford/SwiftR and it worked for me. 嗯......我试过adamhartford / SwiftR ,它对我有用 There is a great documentation available for using the library. 有一个很好的文档可供使用该库。 hope this helps anyone searching the same. 希望这有助于任何搜索相同的人。 :) :)

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

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