iOS client for OpenIM in Swift.
Status: beta. Usable and mostly stable but bugs may happen.
- Login
- Register new accounts.
- Start new chats.
- Edit personal details.
- Edit chat parameters.
- View the list of active chats
- Send and receive plain text messages one-on-one or in group chats.
- In-app presence notifications.
- Unread message counters.
- Local data persistence.
- Transport Level Security - https/wss.
- Viewing attachments and inline images.
- Delivery and received/read indicators for messages (little check marks in messages).
- Muting/un-muting conversations and other permission management.
- Push notifications.
- Attachments and inline images.
-
Group chats.
-
Previews not generated for videos, audio, links or docs.
-
Typing indicators.
-
No support for switching between multiple backends.
-
Mentions, hashtags.
-
Replying or forwarding messages.
-
End-to-End encryption.
CocoaPods Recommended
# Swift 5.3
pod 'OpenIM', git: "https://github.com/OpenIMSDK/Open-IM-SDK-iOS.git" #, :commit => ''
pod 'OpenIMUI', git: "https://github.com/OpenIMSDK/Open-IM-SDK-iOS.git" #, :commit => ''
- iOS 11 or later
- Swift 5.3 or later
class OIMManager.login(uid:token:callback:)
class OIMManager.createTextMessage(_:at:)
class OIMManager.createImageMessage(_:)
class OIMManager.createSoundMessage(_:duration:)
class OIMManager.createVideoMessage(_:videoType:duration:snapshotPath:)
class OIMManager.sendMessage(_:receiver:groupID:onlineUserOnly:progress:callback:)