Re: Memory management of document modal panels

Jeff Laing

According to Mike Ash
- see Caveats) self should be being retained.

Apple (
also suggest that if you reference a local variable inside the block,
then self will be retained.

I can't see anywhere where they suggest the behavior changes with the
retention-model being used; just that a block doesn't retain anything
until it is copied and in the case where you pass a block in as a
completion handler, it is that methods responsibility to copy the

Jeff Laing <jefflaing@...>
"... because even if we can't um, if we can't rise to his level, no at
least we can, we can drag him down to ours ..."
-- William Gaddis, "JR".

Join to automatically receive all group messages.