]> git.babelmonkeys.de Git - jubjub.git/commitdiff
Use -[asyncConnectAndHandle]
authorFlorian Zeitz <florob@babelmonkeys.de>
Wed, 19 Dec 2012 20:54:21 +0000 (21:54 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Wed, 19 Dec 2012 20:54:21 +0000 (21:54 +0100)
src/core/main.m

index 6b03d9565f4563b6e2e46b0eee654d460d5049c0..62393b23ed964dd7e22bbdd2ed1fdba787a8908a 100644 (file)
@@ -28,8 +28,7 @@ OF_APPLICATION_DELEGATE(AppDelegate)
        connection.username = @"alice";
        connection.password = @"test";
 
-       [connection connect];
-       [connection handleConnection];
+       [connection asyncConnectAndHandle];
 
        [connection addDelegate: rosterDelegate];