lukeredpath/libPusher — Issue #28: Support removal of all bindings with a simple API
Author: lukeredpath
Created: 2012-02-29 22:33:27+00:00
State: open
Labels: enhancement

v1.2 introduced the ability to remove bindings by storing a reference to the `PTPusherEventBinding` object returned from the binding methods.

It's essential the user store a reference to these binding objects if they want to remove specific bindings later.

However, the library should be able to support removing all bindings with one method call by keeping track of bindings itself. Then a user could do:

```objc
// this could be channel too
[pusher removeAllBindings];
```