GetStream / stream-chat-swift

💬 iOS Chat SDK in Swift - Build your own app chat experience for iOS using the official Stream Chat API
https://getstream.io/chat/sdk/ios/
Other
861 stars 210 forks source link

[POC] Reuse ViewModels across SwiftUI and UIKit #3460

Closed nuno-vieira closed 3 weeks ago

nuno-vieira commented 1 month ago

Summary

This is just a proof of concept to see how feasible it would be to reuse view models across the SwiftUI and UIKit SDK.

Spoiler Alert: It looks pretty promising 👌

Further work

Demo

Loading Threads New Threads
github-actions[bot] commented 1 month ago
1 Message
:book: Skipping Danger since the Pull Request is classed as Draft/Work In Progress

Generated by :no_entry_sign: Danger

Stream-SDK-Bot commented 1 month ago

SDK Size

title develop branch diff status
StreamChat 6.92 MB 6.92 MB 0 KB 🟢
StreamChatUI 4.95 MB 5.07 MB +128 KB 🟢
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
164 New issues
0 Accepted issues

Measures
0 Security Hotspots
84.4% Coverage on New Code
0.1% Duplication on New Code

See analysis details on SonarCloud

nuno-vieira commented 3 weeks ago

Closing this one for now. But the PoC was a success and for sure validated that we can share view models between SwiftUI and UIKit in the future.