title: How to connect Pusher client to Heroku in iOS
body: <p>How to connect Pusher client to heroku environment.</p>
  
  <pre><code>  self.client = [PTPusher pusherWithKey:PusherAppKey delegate:self encrypted:YES];
   _client.authorizationURL = [NSURL URLWithString:@"XXXXX.com"];
  
  [self.client connect];
  self.channel = [_client subscribeToChannelNamed:@"XXXXXXXXXXXXXXX"];
  [self.client bindToEventNamed:@"XXXXXXXXXXXXX" target:self action:@selector(handleNewMessageEvent:)];  
  </code></pre>