centrifugal / centrifuge-swift

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

Example for SwiftUI #98

Open wmorgue opened 11 months ago

wmorgue commented 11 months ago

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

FZambia commented 11 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 11 months ago

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

YoavGro commented 2 months ago

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