Re: struggling with binding, NSOutlineView, and NSTableView
Re: struggling with binding, NSOutlineView, and NSTableView
- Subject: Re: struggling with binding, NSOutlineView, and NSTableView
- From: Kyle Sluder <email@hidden>
- Date: Wed, 13 May 2009 17:02:55 -0400
On Wed, May 13, 2009 at 4:49 PM, David Owens <email@hidden> wrote:
> The NSOutlineView attempts to display the information, but for the life of
> me I cannot call into the selected item to retrieve the data for the
> columns.
This doesn't make sense to me... "call into?" What does that mean?
> Object (datasource/delegate for the NSOutlineView)
> - Has a property that is set by the selection change that is supposed to be
> the selected item in the NSTableView
Since you're using bindings, perhaps you should instead be using the
array controller's selection rather than deducing it from the table
view... as apparently you've tried:
> In addition, I've also tried having an outlet on the NSOutlineView
> datasource class that points to the NSArrayController and then trying to
> call my class methods from the NSArrayController' selection key, but that
> resulted in the same problem of my app just crashing.
Crash => post your code and the crash backtrace.
--Kyle Sluder
_______________________________________________
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