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

NSConditionallySetsEditable


  • Subject: NSConditionallySetsEditable
  • From: Hamish Allan <email@hidden>
  • Date: Wed, 15 Feb 2006 02:37:27 +0000


It's not clear to me how to set certain nodes in a tree (using NSTreeController with an NSBrowser or NSOutlineView) to be editable or uneditable according to some property of the data model.


There seem to be various places I can set NSConditionallySetsEditable: the NSTreeController, the NSBrowser value binding (apparently not supported in 10.4) and the NSTableColumn value binding. I can also bind the "editable" binding in either the NSTreeController or the NSTableColumn, but apparently not the NSBrowser.

I have an NSBrowser and an NSOutlineView connected to the same NSTreeController (available at http://igor.gold.ac.uk/~map01ra/ BindTest.zip). With default settings, everything is editable through the NSOutlineView and nothing is editable through the NSBrowser. I have been unable to change this behaviour although I have tried various combinations of bindings, settings and properties.

Has anyone else used "editable" bindings and/or NSConditionallySetsEditable successfully with an NSTreeController?

Thanks,
Hamish

_______________________________________________
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: Re: CoreImage: Newbie can't find memory leak [SOLVED
  • Next by Date: Re: plain white boxes/views
  • Previous by thread: Re: CoreImage: Newbie can't find memory leak [SOLVED
  • Next by thread: Help in diplaying line width
  • Index(es):
    • Date
    • Thread