Configure the client and channel group with set of channels.
Click to copy the blue snippets and then paste them into your code.#import "AppDelegate.h" #import <PubNub/PubNub.h> #import <PubNubBridge/PubNub+FAB.h> @interface AppDelegate () @property (nonatomic, strong) PubNub *client; @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.client = [PubNub client]; [self.client addChannels:@[@"announcements", @"lobby"] toGroup:@"tradeshow" withCompletion:^(PNAcknowledgmentStatus *status) { }]; return YES; } @end