ObjIRC  Check-in [c2aa35d109]

Overview
Comment:Don't retain the delegate to prevent a reference cycle.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c2aa35d109fb2621b4486135bcceac8ce8adbd8ff9623a6f8a1e2e805d438c8e
User & Date: js on 2011-10-24 18:34:52
Other Links: manifest | tags
Context
2012-02-16
14:56
Handle closed connection. check-in: 4314708767 user: js tags: trunk
2011-10-24
18:34
Don't retain the delegate to prevent a reference cycle. check-in: c2aa35d109 user: js tags: trunk
2011-10-05
19:40
Keep track of users in a channel. check-in: 5f51d55981 user: js tags: trunk
Changes

Modified src/IRCConnection.h from [db3258a581] to [f8e3c6c8a1].

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
	OFMutableDictionary *channels;
	id <IRCConnectionDelegate, OFObject> delegate;
}

@property (copy) OFString *server;
@property (assign) uint16_t port;
@property (copy) OFString *nickname, *username, *realname;
@property (retain) id <IRCConnectionDelegate, OFObject> delegate;
@property (retain, getter=socket) OFTCPSocket *sock;

- (void)sendLine: (OFString*)line;
- (void)sendLineWithFormat: (OFConstantString*)line, ...;
- (void)connect;
- (void)disconnect;
- (void)disconnectWithReason: (OFString*)reason;







|







81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
	OFMutableDictionary *channels;
	id <IRCConnectionDelegate, OFObject> delegate;
}

@property (copy) OFString *server;
@property (assign) uint16_t port;
@property (copy) OFString *nickname, *username, *realname;
@property (assign) id <IRCConnectionDelegate, OFObject> delegate;
@property (retain, getter=socket) OFTCPSocket *sock;

- (void)sendLine: (OFString*)line;
- (void)sendLineWithFormat: (OFConstantString*)line, ...;
- (void)connect;
- (void)disconnect;
- (void)disconnectWithReason: (OFString*)reason;