On Jul 10, 2014, at 3:25 AM, Shane Stanley <sstan...@myriad-com.com.au> 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 - b...@cheeseman.name

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to