Re: View-based outline view problem
Re: View-based outline view problem
- Subject: Re: View-based outline view problem
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 10 Jul 2014 04:37:05 -0400
On Jul 10, 2014, at 3: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'm about 90% of the way through creating my first view-based source list from scratch, without bindings, and with lots of custom behaviors. I can't answer your question directly because the topic is too large. All I can say from my experience is that it requires a lot of trial-and-error (as an AppleScripter, you're good at that), and close study of the sample code pays big dividends.
The sample code projects I relied on include these:
Apple's SidebarDemo sample code
Apple's SourceView sample code
Apple's TableViewPlayground sample code
PXSourceList <https://github.com/Perspx/PXSourceList>
--
Bill Cheeseman - email@hidden
_______________________________________________
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