Re: Figuring out which values are selected in an NSTableView
Re: Figuring out which values are selected in an NSTableView
- Subject: Re: Figuring out which values are selected in an NSTableView
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 17 May 2005 23:42:23 -0700
On May 17, 2005, at 11:21 PM, Denis Stanton wrote:
I have that IBOutlet and I have dragged from File's Owner to
NSArrayControler and clicked connect so I see Source:
paymentController, Destination: NSArray Controller. I also have
Source: window Destination:NSWindow(Window).
And yet [paymentController selectedObjects] remains null
Are you sure that paymentController itself is not nil when you call
the method?
It's quite possible I'm getting fixated on this and am missing
something else obvious, but that currently seems like the simplest
answer. Have you implemented a -setPaymentController: method that
something else calls?
It's as if there are two paymentControllers, the one the IBOutlet
is bound to and the one I am interrogating.
Have you implemented an init or other method that creates a new
NSArrayController?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden