neuromancer
neuromancer

Reputation: 55499

bindings in Interface Builder

I want to have a button where if I click it, then some text is displayed that says "you clicked the button." I know how to do this using IBOutlet and IBAction. Can it be done with bindings? If so, then how?

Upvotes: 0

Views: 300

Answers (1)

Lily Ballard
Lily Ballard

Reputation: 185681

I don't think so. You can't bind a momentary button to a property and expect that to work correctly. What would you bind on the button side? After pressing and releasing a momentary button, the button's state is unchanged, so there's nothing to bind do.

Upvotes: 1

Related Questions