I've hunted around an it's not clear to me whether or not an NSOperation 
instance strongly or weakly references its dependencies. Does anybody know the 
answer?

An NSOperationQueue strongly references the operations in its queue (which 
makes sense). It would also seem to make sense to have an NSOperation weakly 
reference its dependencies, but I don't see it in the documentation anywhere. I 
have a (probably not uncommon) situation where I don't want to keep the 
dependencies around (and therefore don't want to strongly root them). Obviously 
I could remove the dependencies after the operation has been computed, but I'd 
like to avoid worrying about that if possible.

Thanks!
Jeffrey_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to