Releasing resources when cells are returned to the queue?
Releasing resources when cells are returned to the queue?
- Subject: Releasing resources when cells are returned to the queue?
- From: Rick Mann <email@hidden>
- Date: Tue, 09 Jun 2015 14:23:02 -0700
I'd like to release resources in my collection view cells when they are returned to the reuse queue. But I can't see a way to do this. There is a call on the cell when they are popped from the queue and about to be reused, but none when they're put on the queue in the first place.
Our examination has revealed that while we will have 11 cells visible on screen, there will be 29 elsewhere.
We're running into memory problems, and these cells continue to hang on to stuff that I'd like to release when the memory warning happens. Unfortunately, there's no easy way to get at already-instantiated cells that are NOT on screen (as far as I can tell).
Any ideas? Thanks!
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden