centrifugal / centrifuge-swift

Swift client SDK for bidirectional real-time communication with Centrifugo and Centrifuge-based server over WebSocket
MIT License
48 stars 43 forks source link

Example for SwiftUI #98

Open wmorgue opened 9 months ago

wmorgue commented 9 months ago

Hi 👋 There's possible to use this library with SwiftUI ?

FZambia commented 9 months ago

Hello, I am pretty sure it's possible – centrifuge-swift is not UI specific, it's a network-related library, can be used with both SwiftUI and UIKit.

wmorgue commented 9 months ago

@FZambia Can you or someone else show an example for a SwiftUI application, without Delegates ?

YoavGro commented 4 weeks ago

What is the scenario in which SwiftUI would change the functionality of the UIKit example?