HTTP Long Polling in Swift

后端 未结 1 1125
再見小時候
再見小時候 2021-02-10 04:26

I am trying to implement a long-polling solution in Swift using iOS 8+.

While the solution undoubtedly works and leaves the main thread free for UI interactions, the me

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-10 05:16

    LongPollDelegate is strong so you have a retain cycle. Make it a weak variable.

    0 讨论(0)
提交回复
热议问题