Re: struggling with binding, NSOutlineView, and NSTableView
Re: struggling with binding, NSOutlineView, and NSTableView
- Subject: Re: struggling with binding, NSOutlineView, and NSTableView
- From: David Owens <email@hidden>
- Date: Wed, 13 May 2009 14:34:32 -0700
The 'call into' was if I made any message call into my class, the app
spins into an infinite loop of some sort.
The sample app can be found here: http://files.me.com/owensd/t07nu0
On May 13, 2009, at 2:02 PM, Kyle Sluder wrote:
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