• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Figuring out which values are selected in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Figuring out which values are selected in an NSTableView
      • From: Denis Stanton <email@hidden>
References: 
 >Figuring out which values are selected in an NSTableView (From: Andrew White <email@hidden>)
 >Re: Figuring out which values are selected in an NSTableView (From: Scott Anguish <email@hidden>)
 >Re: Figuring out which values are selected in an NSTableView (From: Denis Stanton <email@hidden>)
 >Re: Figuring out which values are selected in an NSTableView (From: mmalcolm crawford <email@hidden>)
 >Re: Figuring out which values are selected in an NSTableView (From: Denis Stanton <email@hidden>)
 >Re: Figuring out which values are selected in an NSTableView (From: mmalcolm crawford <email@hidden>)
 >Re: Figuring out which values are selected in an NSTableView (From: Denis Stanton <email@hidden>)

  • Prev by Date: Re: Figuring out which values are selected in an NSTableView
  • Next by Date: Re: CoreData and arrays owned by arrays...
  • Previous by thread: Re: Figuring out which values are selected in an NSTableView
  • Next by thread: Re: Figuring out which values are selected in an NSTableView
  • Index(es):
    • Date
    • Thread