29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
-
+
|
@interface TestApp: OFObject <OFApplicationDelegate, IRCConnectionDelegate>
@end
OF_APPLICATION_DELEGATE(TestApp)
@implementation TestApp
- (void)applicationDidFinishLaunching
- (void)applicationDidFinishLaunching: (OFNotification *)notification
{
IRCConnection *connection = [[IRCConnection alloc] init];
connection.server = @"irc.freenode.net";
connection.nickname = @"ObjIRC";
connection.username = @"ObjIRC";
connection.realname = @"ObjIRC";
|