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
LongPollDelegate is strong so you have a retain cycle. Make it a weak variable.