• 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
Using multiple bindings to enable a button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using multiple bindings to enable a button


  • Subject: Using multiple bindings to enable a button
  • From: Steve Mills <email@hidden>
  • Date: Tue, 10 Feb 2015 22:23:39 -0600

The docs say that when binding multiple NSButton enabled properties, they are ANDed together. I tried this earlier and it didn't work when I had them in one order. So I switched the order and it worked. Bwuh? Here's what I had first:

-Enabled (Keywords Array Controller.selection.@count) using a custom value transformer that returns true only if the count is 1
-Enabled2 (File's Owner.comboStringValue.length)

That didn't work. Swapping them did. Smells buggy to me. Can anyone confirm this?

--
Steve Mills
Drummer, Mac geek


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Using multiple bindings to enable a button
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Disable Text Replacement
  • Next by Date: Re: Using multiple bindings to enable a button
  • Previous by thread: Re: Right-mouse click in tables not working correctly since 10.10.2?
  • Next by thread: Re: Using multiple bindings to enable a button
  • Index(es):
    • Date
    • Thread