• 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 problem: NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings problem: NSTreeController


  • Subject: Bindings problem: NSTreeController
  • From: Nicholas Crosbie <email@hidden>
  • Date: Fri, 13 Jan 2006 10:33:55 +1100 (EST)

Bindings problem:  NSTreeController

I have two outline view columns bound to a single
treecontroller.

One column has its value set as follows:

value = arrangedObjects.name [NSTreeController
(NSTreeController)]

I can edit the values of this column without problem,
edits are
displayed to the UI, and written to a store via core
data.

The other column gets its value via a relationship as
follows:

value = arrangedObjects.gate.longName
[NSTreeController (NSTreeController)]

Despite the fact that all other settings appear to be
the same for this column
as the other, the 'edited' values of this column are
not displayed to the UI nor
stored to file.   What could be missing/wrong?

- NDC


note: the aforementioned treecontroller has the
following bindings:

contentSet = selection.children [NSArrayController
(NSArrayController)]
managedObjectContext = managedObjectContext [File's
Owner (My Document)]

For Attributes, the treecontroller is set up as
follows:

Mode = Entity and correct entity name is given

checked (on) are:
Automatically prepares content, Editable, Avoids empty
selection, Preserves selection, Selects
inserted objects

Children key path = children

No predicate specified.





____________________________________________________
Do you Yahoo!?
The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full Actor Database.
http://au.movies.yahoo.com
 _______________________________________________
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

  • Prev by Date: create a graph with cocoa
  • Next by Date: Error: "This target might include its own product."
  • Previous by thread: Re: create a graph with cocoa
  • Next by thread: Error: "This target might include its own product."
  • Index(es):
    • Date
    • Thread