I am creating my application without using StoryBoard, basically creating Widgets (UIViews) and adding them to my rootController.view
self.view.addSubview(view)
My question is fairly basic, but I would like to have some guidance in it. How do I bring up a new activity (as in Android) programmatically and have its rootViewController set to an object of a different UIViewController.
- Is the concept of a window the same as an activity (in Android)?
- How can I make the new window/activity slide in from the right, say when a button is clicked?
p.s I am building this application in Swift.