Re: Change NSButton text
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