...
I noticed that, while I scrolled in the tableview, many copies of
these large objects were being created and then immediately
collected.
...
NSCells used to display table content copies the object it display.
Instead of binding the cell value to your object directly, bind it
t
Le 7 juil. 09 à 14:24, Rick Hoge a écrit :
I have a nib file in which entries in an NSTableView are bound to an
NSMutableArray via an NSArrayController. It is used in an
application running under garbage collection.
The array items are NSDictionaries, and one of these dictionaries
con
...
The array items are NSDictionaries, and one of these dictionaries
contains a large dataset object that consumes a lot of memory. I
noticed that, while I scrolled in the tableview, many copies of
these large objects were being created and then immediately
collected.
It's
On Jul 7, 2009, at 05:24, Rick Hoge wrote:
I have a nib file in which entries in an NSTableView are bound to an
NSMutableArray via an NSArrayController. It is used in an
application running under garbage collection.
The array items are NSDictionaries, and one of these dictionaries
contai
I have a nib file in which entries in an NSTableView are bound to an
NSMutableArray via an NSArrayController. It is used in an application
running under garbage collection.
The array items are NSDictionaries, and one of these dictionaries
contains a large dataset object that consumes a l