FROM : Hank Heijink
DATE : Mon Feb 25 22:51:27 2008
On Feb 25, 2008, at 3:49 PM, Nir Soffer wrote:
> The docs don't tell if -invokeWithTarget: will retain the target, so
> call -setTarget:nil after invoking to be sure you don't create a
> retain cycle.
As far as I understand the documentation, -[invokeWithTarget:] is
equivalent to -[setTarget:] followed by -[invoke]. That would mean the
target is retained, according to the doc for -[retainArguments].
Hank Heijink
hank.<email_removed>
DATE : Mon Feb 25 22:51:27 2008
On Feb 25, 2008, at 3:49 PM, Nir Soffer wrote:
> The docs don't tell if -invokeWithTarget: will retain the target, so
> call -setTarget:nil after invoking to be sure you don't create a
> retain cycle.
As far as I understand the documentation, -[invokeWithTarget:] is
equivalent to -[setTarget:] followed by -[invoke]. That would mean the
target is retained, according to the doc for -[retainArguments].
Hank Heijink
hank.<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Hank Heijink | Feb 21, 17:22 | |
| Nir Soffer | Feb 22, 01:42 | |
| Hank Heijink | Feb 22, 05:00 | |
| Chris Suter | Feb 22, 05:18 | |
| Hank Heijink | Feb 22, 16:36 | |
| Chris Suter | Feb 23, 02:47 | |
| Hank Heijink | Feb 25, 15:49 | |
| Nir Soffer | Feb 25, 21:30 | |
| Hank Heijink | Feb 25, 21:44 | |
| Nir Soffer | Feb 25, 21:49 | |
| Hank Heijink | Feb 25, 22:51 | |
| Chris Suter | Feb 26, 00:03 | |
| Hank Heijink | Feb 27, 16:58 |






Cocoa mail archive

