From fefa319aa833cbdce56149bdbb1fffdf56da92fd Mon Sep 17 00:00:00 2001 From: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com> Date: Fri, 24 Sep 2021 19:57:22 +0100 Subject: [PATCH] Update obj-c code samples --- content/root/quick-start-guide.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/root/quick-start-guide.textile b/content/root/quick-start-guide.textile index a9c268c508..d501f442d6 100644 --- a/content/root/quick-start-guide.textile +++ b/content/root/quick-start-guide.textile @@ -517,7 +517,7 @@ ably.Connection.On(ConnectionEvent.Closed, args => Console.Out.WriteLine("Closed connection to Ably."); }); -bc[objc]. ably.connection.close(); +bc[objc]. [ably.connection close]; [ably.connection on:ARTRealtimeConnectionEventClosed callback:^(ARTConnectionStateChange *stateChange) { NSLog(@"Closed connection to Ably."); }];