hi please help me to resolve this.
i am using a NSTableView and a IKImageBrowserView,when i inserting different type of images in IKImageBrowser,i update the its counter in NSTableView,using below method,
but some times application gives EXC_BAD_ACCESS.
so please guide me.
my code is
what wrong here?
please help.
i am using a NSTableView and a IKImageBrowserView,when i inserting different type of images in IKImageBrowser,i update the its counter in NSTableView,using below method,
but some times application gives EXC_BAD_ACCESS.
so please guide me.
my code is
Code:
- (id) tableView:(NSTableView *)pTableViewObj objectValueForTableColumn:(NSTableColumn *)pTableColumn row:(int)pRowIndex
{
id record, value;
record = [nsDataObject objectAtIndex:pRowIndex];
value = [record objectForKey:[pTableColumn identifier]];
return value;
}
- (void)tableView:(NSTableView *)pTableViewObj setObjectValue:(id)pObject forTableColumn:(NSTableColumn *)pTableColumn row:(int)pRowIndex
{
[nsDataObject replaceObjectAtIndex:pRowIndex withObject:pObject];
}
what wrong here?
please help.
Last edited: