3 ms·
how about retain cycles?
by DenisM 17y ago
how about retain cycles?
- Zev 17y agoTo me, that would be a problem with your code, not Objective C or anything within the Cocoa frameworks. I would personally say that if an object is retaining its parent (or parent's parent, etc), there's something wrong with your design and you should step back to reconsider things. Matt Gallagher put it much better than I can and I would recommend reading his post on it: http://cocoawithlove.com/2009/07/rules-to-avoid-retain-cycles.html http://cocoawithlove.com/2009/07/rules-to-avoid-retain-cycle...
- DenisM 17y agoAnd you call that kind of memory management "easy"? Looks quite contrived to me.