Tag: tab bar delegates
-
Swift Swift Tutorials: Passing Data in Tab Bar Controllers
[Updated for Swift 2.0/iOS9 9/21/15 SJL] While you can delegate between view controllers in tab bar controllers, it’s debatable if you want to. Tab bar controllers can break down MVC in cases. On one hand Apps with tab bar controllers have independent view controllers with completely separate functions, much like Apple’s clock app. Though the…
-
Swift Swift: Using Tab Bar Controllers in Swift
[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 lesson we’ll take a look at tab bar controllers and after…