To create a new view controller, select File->New->File . View Controllers are often in their own folder or “group” in the project explorer. The figure below shows creating a new view controller and adding it to a new group.
Read moreWhat is a view in Xcode?
Overview. Views and controls are the visual building blocks of your app’s user interface . Use them to draw and organize your app’s content onscreen. Views can host other views.
Read moreHow do I add a view in Swift?
Creating a Custom View
Read moreHow do I show view in Xcode?
Click on the left-most view (i.e. the one in the very back) and you’ll see that Xcode highlights it to indicate your selection. You’ll also see the Jump Bar (just above the Canvas) update to show a UIWindow as the last item — that last item will always reflect the currently selected view and its class type.
Read moreHow do I change the default view controller in Xcode?
Changing the Initial View Controller in Xcode
Read more