Question

I have a button that is inside a view repeated inside a NSCollectionView. I can bind the title of the button to one of the properties in my model class but I want to wire the selector of the button to one of the selectors in my model class. Obviously, the button must send the message to the model object associated with the corresponding collection view item. I managed to bind the target for the button but how to set the selector? I want to do that in Interface Builder if possible...

Was it helpful?

Solution

I figured it out. In the Ib there is a selector textbox bellow the path textbox where I bind the target. I don't know why I didn't see it. I spent nearly one hour trying to solve this issue.

OTHER TIPS

How to add those blindings? I still can't find it.

see?

I find it . It's Here.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top