• 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
Help needed with NSController / Bindings problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help needed with NSController / Bindings problem...


  • Subject: Help needed with NSController / Bindings problem...
  • From: Chris Pavicich <email@hidden>
  • Date: Thu, 4 Mar 2004 20:00:28 -0500

Hi list:

I have been working with NSController and 'new' Cocoa bindings stuff recently. It's all been going pretty well, until today.

I am trying to write a Master-Detail view using an NSTableView (master) and a NSTextView (detail).
Everything in the table view works great. The data loads, it sorts okay, etc. When the window
initially loads, the detail view is even set correctly.

However, once the row selection changes in the table view, the text view is not update.
I am using an NSArrayController to drive the table view.

The bindings on the text view are:

value = {
bind to = NSArrayController
controller key = selection
model key path = (a method on my model object that works!)
}

I followed mmalc's advice and disabled multiple fonts on the text view.

I have also tried logging calls to the each of my accessors to see if they are getting called. It appears
that they are not.

If anyone can help with this problem, it would be greatly appreciated.

Thanks
CMP
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Help needed with NSController / Bindings problem...
      • From: mmalcolm crawford <email@hidden>
    • Re: Help needed with NSController / Bindings problem...
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: access/retrieve >5lakh records from Oracle
  • Next by Date: Re: Help needed with NSController / Bindings problem...
  • Previous by thread: Re: Custom window w/close
  • Next by thread: Re: Help needed with NSController / Bindings problem...
  • Index(es):
    • Date
    • Thread