i install Podfile in my app, and run it from my file .xcworkspace. My project is a Swift project but the pod installed are in ObjectC. I create myApp-Bridging-Header.h and add in it:
#import "SignalR.h"
#import "RockSocket.h"
...
then open target>BuildSetting and add the path for the bridgingFile in SwiftCompiler-CodeGeneration>Object-C BridgingHeader. I build the project and it's work fine, but in my ViewConytoller file when i create:
var connection:SignalR = SignalR()
i have the error "use undeclared type 'SignalR'.
I read some question but i don't solve my problem. Please can you help me??
EDIT
I can't use SwiftR because it's write in JavaScript code and Jquery library, and i can't use it This is the screenshot of my bridging file.
and this is my pod file:
platform :ios, '9.0'
pod 'AFNetworking', '2.6.3'
pod 'SocketRocket', '0.3.1-beta2'
pod 'SignalR-ObjC', '2.0.0.beta1'
Hope you can help me. Thanks fir your answers.