An often ignored but rather powerful View Controller is the UISplitViewController. You can make one from a template and the storyboard, but I often skip both and do it programmatically, which is especially good when I’m prototyping in a playground. Let’s give it a… Continue Reading “Programmatically Add Split View Controllers”
Posted on July 14, 2016
by Steven Lipton
3 Comments
While Navigation controllers often have the limelight when it comes to Xcode’s view controllers, tab bar controllers are better for independent tasks in the same app, or for different ways of working with the same model. In this lesson we’ll take a look at… Continue Reading “How to Make a Tab Bar Controller in Swift 3.0 Code”
Category: iOS10, Swift Programming, TutorialTags: AppDelegate, Apple swift, programmatically, swift, Tab bar controller programmatically, Tab Bar Icons, Tab Bar Swift, UI Tab Bar controller, UI tab item, UITabBar, UITabBarController, UITabBarItem, Xcode swift
Posted on September 9, 2014
by Steven Lipton
43 Comments
[Updated to Swift 2.0/iOS9.0 9/20/2015 SJL] While Navigation controllers often have the limelight when it comes to Xcode’s view controllers, tab bar controllers are better for independent tasks in the same app, or for different ways of working with the same model. In this… Continue Reading “Swift Swift: Using Tab Bar Controllers in Swift”
Category: Swift Programming, Swift Swift, TutorialTags: AppDelegate, Apple swift, delegates, Passing Data, programmatically, subclassing UITabBarController, swift, Tab bar controller programmatically, tab bar delegates, tab bar delegation, Tab Bar Icons, Tab Bar Swift, UI Tab Bar controller, UI tab item, UITabBar, UITabBarController, UITabBarItem, Xcode swift