• 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
NSTextField & Hidden Binding Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField & Hidden Binding Problem


  • Subject: NSTextField & Hidden Binding Problem
  • From: Thaddeus Cooper <email@hidden>
  • Date: Wed, 15 Nov 2006 16:37:22 -0800

Hi All --

I have an NSTextField in a tab view that is the "label" ("Password:") for a NSTextField that the user can type in. I only want these two text fields to be visible when a certain object is selected in the array controller. I bound the hidden binding of both of them to a method in the app delegate customSMTPServerSelected. The text field that the user can type in appears and disappears appropriately, but the "label" is always visible -- which is not the behavior I want.

What do I need to do to make the "label" become hidden when the selected object in the array controller changes? I've considered using setKeys:triggerChangeNotificationsForDependentKey: but I'm not sure that's the way to do this.

Any help would be greatly appreciated.

Thanks very much.

-- Thaddeus O. Cooper
(email@hidden)



_______________________________________________
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: CoreData, reset a persistent store
  • Next by Date: Re: CoreData, reset a persistent store
  • Previous by thread: [ANN] ANTLR 3.0 beta 5 release
  • Next by thread: Re: NSTextField & Hidden Binding Problem
  • Index(es):
    • Date
    • Thread