• 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
Re: Change NSButton text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change NSButton text


  • Subject: Re: Change NSButton text
  • From: "I. Savant" <email@hidden>
  • Date: Sat, 1 Sep 2007 22:23:45 -0400

On Sep 1, 2007, at 10:15 PM, Simon Raisin wrote:

I'd like to be able to change the text of that button at runtime, but I can
figure out how to access it since I can't set it to an outlet in my app
controller because that would break the button's NSArrayController bindings.



How about connecting the button's action to an -addObject: method in your controller, changing the button's text, then calling the array controller's -add: method?


--
I.S.




_______________________________________________

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


References: 
 >Change NSButton text (From: "Simon Raisin" <email@hidden>)

  • Prev by Date: Change NSButton text
  • Next by Date: Re: Cool window background color?
  • Previous by thread: Change NSButton text
  • Next by thread: Re: interface to metadata list
  • Index(es):
    • Date
    • Thread