Button action in xcode

I know it is not logical but i have just started coding in xcode...

Is it possible to link one view controller from the storyboard with another one thats is programatically built?

I am trying to make a button action, but it does not work...:/

Hope you can help me.

Is it possible to link one view controller from the storyboard with another one thats is programatically built?

Generally, YES. But I do not know if it applies in your case.

it does not work...

Please show your code, and be more specific. What do you mean by does not work?
  • Does it cause some build-time error and you cannot run it?

  • Does it build successfully but causes runtime errors or crash?

  • Does it build successfully and run without errors but generates unexpected results?

If you can show enough info, there are many readers who can help you.
Button action in xcode
 
 
Q