• 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
Bindings and 2 NSTableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings and 2 NSTableViews


  • Subject: Bindings and 2 NSTableViews
  • From: email@hidden
  • Date: Sun, 9 Jan 2005 17:36:54 -0500

Im pretty new to bindings so forgive me if this is really simple, but i have not found an answer anywhere yet.

I have 4 classes:

BSObject
	-> NSString* title

BSCollection
	->NSMutableArray* objects

BSCategory
	->NSString* name
	-> BSCollection* collection

BSCategoryList
	->NSMUtableArray* categories

I want to bind a BSCategoryList with a NSTableView. That works fine. I use an NSArrayController and set its contentArray to BSCategoryList.categories. When an item in that NSTableView is selected, i want another NSTableView to show the contents of the selected BSCategory. So, i set the binding for my column to my NSArrayController - selected - collection.title. Am i doing this right? Its not working on my side. Can anyone help me out here, maybe there's a tutorial on this somewhere.

ANy help appreciated, thanks

Alex

_______________________________________________
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: Bindings and 2 NSTableViews
      • From: mmalcolm crawford <email@hidden>
    • Re: Bindings and 2 NSTableViews
      • From: Joakim Danielson <email@hidden>
  • Prev by Date: Re: Ghost value in NSUserDefaults
  • Next by Date: Tooltip-like view when dragging
  • Previous by thread: RE: Adding to the undo chain of an NSTextView for a linked view?
  • Next by thread: Re: Bindings and 2 NSTableViews
  • Index(es):
    • Date
    • Thread