From: Panayotis K. <pan...@pa...> - 2010-07-12 23:07:09
|
On 12 Ιουλ 2010, at 11:10 μ.μ., Paul Poley wrote: > An associative reference looks to be just what I need. I'm assuming it works with at least the latest version of iOS 3 & not just 4.0 & beyond. > It requires iOS 3.1 and above - and it is not supported at the simulator. Of course there you don't really care so much of memory leaks, as with iPhone. > I suppose the best solution is to lazily create the reference only when first needed, since most objects won't need it. That will also not create any overhead to existing functionality. > Have in mind that this solution actually retains the object - it is not just a weak reference. |