centrifugal / centrifuge-swift

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

Access to properties of `CentrifugeClientInfo` #30

Closed leonovvalentin closed 4 years ago

leonovvalentin commented 4 years ago

Method presence(completion:) in CentrifugeSubscription has completion block with parameter of type [String: CentrifugeClientInfo]?, but I can not use any property from CentrifugeClientInfo because it have internal access modifier.

Question is how should I use CentrifugeClientInfo object? Is it really needed to use internal instead of public?

FZambia commented 4 years ago

@leonovvalentin hello, must be public, yes:) Looks like you are the first who want to use it.

FZambia commented 4 years ago

Just released 0.0.6, thanks for pointing at this!