• 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
Binding an objects "Enabled" to a button in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding an objects "Enabled" to a button in IB


  • Subject: Binding an objects "Enabled" to a button in IB
  • From: email@hidden
  • Date: Mon, 30 Aug 2010 14:26:39 +0200 (CEST)
  • Importance: Normal

Can the following be done completely in the nib file (in IB)?

I have a form field whos fields are bound to various attributes of an
object (the object Person has attributes as firstName, lastName, etc.). In
my view I would like lock these fields, prohibiting them from being
changed, i.e. I'd like to be able to toggle the forms' "Enabled"-binding
between YES and NO. For this I'd like to use a simple button named "Lock".

Can this binding be done in IB or do I need to add this functionality
programatically?

Thanks
/Mikael

_______________________________________________

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: Binding an objects "Enabled" to a button in IB
      • From: Joanna Carter <email@hidden>
  • Prev by Date: Core Data search optimization
  • Next by Date: Re: Binding an objects "Enabled" to a button in IB
  • Previous by thread: Re: Core Data search optimization
  • Next by thread: Re: Binding an objects "Enabled" to a button in IB
  • Index(es):
    • Date
    • Thread