Hello All,
In my NSTableView I am using NSImageCell as one column to display images.
And I have implemented my datastore method like this -
- (id) tableView: (NSTableView *)aTableView
objectValueForTableColumn: (NSTableColumn *)aTableColumn
row: (NSInteger)rowIndex
{
/* code to display other
On Apr 18, 2009, at 7:54 PM, cocoa learner wrote:
Hello All,
In my NSTableView I am using NSImageCell as one column to display
images.
And I have implemented my datastore method like this -
- (id) tableView: (NSTableView *)aTableView
objectValueForTableColumn: (NSTableColumn *)aTableColumn
On Apr 20, 2009, at 8:01 PM, Steve Christensen wrote:
personName = @New name;
personAddr = @New addrress;
personPhoto = [[NSImage alloc] initWithContentsOfFile:
@/Volumes/Working/cocoa/Play-NSTableView/Linea.jpg];
if (personPhoto == nil)
{
You need a call to [self dealloc] here, otherwise you