Re: How to use the NSCache

2011-05-15 Thread Nick Zitzmann
On May 15, 2011, at 11:50 PM, Leon Qiao wrote: > Have you ever used the NSCache? Yes. > I'm a little confused on how to use it. I > want to make a list to hold some images in memory. > And the memory overload is a big problem. So I wish I could use the NSCache > to > manage the memory. NSCache

How to use the NSCache

2011-05-15 Thread Leon Qiao
Dear all, Have you ever used the NSCache? I'm a little confused on how to use it. I want to make a list to hold some images in memory. And the memory overload is a big problem. So I wish I could use the NSCache to manage the memory. Please send me a demo or code fragment if you have. Thanks a lot