Article on how to build an iOS chat app using Realm's latest SwiftUI features

I’ve just published a new post on building an iOS chat app using the Realm mobile database, MongoDB Realm and SwiftUI – Building a Mobile Chat App Using Realm – The New and Easier Way.

Realm-Cocoa 10.6 introduced new features that make the SDK way more “SwiftUI-native.” For developers, that makes integrating Realm into SwiftUI views much simpler and more robust. This article steps through building the same chat app using these new features.

rchat-app-in-action

4 Likes

Hey Andrew,

I’m getting Error [-1000] after user is adding a photo to realm. First login works fine, as soon as I update the photo, doesn’t want to load it anymore. Can you help ?
And in logs:

After drilling through, for some reason it fails to login after the realm is updated with the picture.