1

I’ve been looking for a chat API supports Swift.

I checked their github repo and the SDK seems to be written in Objective-C.

Not sure it’s compatible with Swift. Has any one tried SendBird SDK in Swift?

Dan
  • 6,008
  • 7
  • 40
  • 41

1 Answers1

3

Yes.

SendBird supports Swift import. You can just install SendBird SDK with CocoaPod and import it like this.

import SendBirdSDK

Also make sure the use_frameworks! line in your Podfile is uncommented otherwise you will have to use a bridging header.

Jin Ku
  • 196
  • 1
  • 2