Dynamically add elements

Hello guys!

Currently, whenever I want to add a new element to the screen, I have to first go to its viewController, create the element(example below), use the plugins to Generate Actions and Interfaces for Interface Builder and then go to Xcode and manually do it’s connection.

public native UITextView getTextView();

But the problem is that I want to dynamically add/remove elements to the screen. How could I do that? Am I doing it the wrong way to start with?