Re: View-based outline view problem
Re: View-based outline view problem
- Subject: Re: View-based outline view problem
- From: Ken Thomases <email@hidden>
- Date: Thu, 10 Jul 2014 10:30:03 -0500
On Jul 10, 2014, at 2:25 AM, Shane Stanley <email@hidden> wrote:
> I'm trying to convert a cell-based outline view to view-based. The model is a file wrapper, I'm using a datasource, and it was working fine while cell-based. I changed from a text cell to NSTableCellView, and when I set it up to use bindings for its image view and text field, it also worked OK. But when I try to do it without the bindings, I have no luck. The items all appear with the name "Table View Cell" and the gear image.
>
> I fear I'm doing something basic incorrectly, but I can't see what. My -outlineView:viewForTableColumn:row: is not even getting called, which seems very odd. (And yes, I commented out -outlineView:willDisplayCell:forTableColumn:item:). Any suggestions?
Are your outlets connected? Is your delegate object actually set as the table view's delegate?
Are the textField and imageView outlets of the NSTableCellView connected to the text field and image view within it?
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden