NSTableView
to view based and created an
IBOutlet
of my NSTableView
.Image & Text Table Cell View
to it.NSImageView
that's inside that cell view
to my custom NSImageView
subclass: 'PVAsyncImageView'.And i have this code:
- (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
NSTableCellView *result = [tableView makeViewWithIdentifier:tableColumn.identifier owner:self];
[[result imageView] downloadImageFromURL:@"lol"];
return result;
}
But it's not recognizing downloadImageFromURL
(a method from my NSImageView
subclass). Xcode gives me an error.
Any thoughts?