[Adium-devl] Revision 14f474ebb80f

Evan Schoenberg evan.s at dreskin.net
Thu Apr 23 03:01:53 UTC 2009


On Apr 22, 2009, at 11:00 PM, Zachary West wrote:

> 2009/4/22 Evan Schoenberg <evan.s at dreskin.net>:
>> [Why is/how is/is] the latter true?
>> @property (nonatomic, assign) id listObject;
>> proxy = [[AIProxyListObject alloc] init];
>> proxy.listObject = inListObject;
>
> - (id)retain
> {
> 	[listObject retain];
> 	return [super retain];
> }
>
> When it gets added to its dict, -retain gets called on it. This causes
> it to retain its list object.

Ah!  True. Loop indeed :)

Well, I meant well with that (nonatomic, assign) property...

-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20090422/d4a5d4dc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20090422/d4a5d4dc/attachment.sig>


More information about the devel mailing list