Frage

I have a XIB viewcontroller with a button in it. I also have a storboard viewcontroller. I would like to know if there is a way to link a button from the xib view controller to the storyboard viewcontroller.

War es hilfreich?

Lösung

Short answer: No, not using interface builder.

You can do it in code though. Once you have the two view controllers instantiated just set the relevant property on your storyboard view controller.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top