I've got a default layout in my storyboard for a specific view controller. I'd like to add a few things programmatically, but I'm not sure how to go about it so that it adjusts the layout for my other views.
Since I just drag and drop things in to the layout, there's no clear structure (Layouts within layouts, relativity, etc) like in android.
For example, I want to be able to click on a view, and expand a chart below that view, pushing down every view underneath the expanded view.
At the moment, I can add a view at a specific place in my layout, but it'll be behind the other views unless there isn't anything in front of it to be behind.
So I guess I'm asking if I can do most of the layout in the storyboard and give them some sort of the structure via that way, and then add things programmatically between items.
OR
Should I just do everything programmatically? That'd take some reworking on my part since everything's already in my storyboard in terms of interaction between my view controllers and stuff.
Thanks!