View Controllers - J.D. Gauchat

View Controllers

By J.D. Gauchat

  • Release Date: 2018-01-01
  • Genre: Programming

Description

Learn how to create and connect view controllers to define the user interface of your iOS applications. After reading this guide, you will know how to add views and create view controllers, how to use segues and unwind segues to connect them, and how to implement Navigation Controllers, Tab Bar Controllers, and Split View Controllers to create user interfaces for every device.

Table of Contents

VIEW CONTROLLERS
Storyboard
View Controllers
Orientation
Object Library
Guide Lines
Properties
Connections
Outlets
Connections in the Storyboard
Actions
Multiple View Controllers
Segues
Unwind Segues
Segues in Code

NAVIGATION CONTROLLERS
Navigation Controllers in the Storyboard
Navigation Bar
Items
Toolbar
Custom Navigation
Sharing Data

TAB BAR CONTROLLERS
Tabs
Tab Bar Controller
Tab Bar Controller Delegate
Real-Life Application

SPLIT VIEW CONTROLLERS
Universal Container
Split View Controller Object
Split View Controller Delegate
Implementing Split View Controllers
Improving the Interface
Item by Default
Detail View by Default
Display Mode Button
Implementing the Split View Controller Delegate
Expanding the Interface
Modal Views
Presentation Controller
Popover Presentation Controller

QUICK REFERENCE
UIViewController
UIStoryboardSegue
UINavigationController
UINavigationBar
UINavigationItem
UIBarItem
UIBarButtonItem
UIToolbar
UITabBarItem
UITabBarController
UITabBar
UITabBarControllerDelegate
UISplitViewController
UISplitViewControllerDelegate
UIStoryboard
UIPresentationController
UIAdaptivePresentationControllerDelegate
UIPopoverPresentationController
UIPopoverPresentationControllerDelegate

This guide assumes that you have a basic knowledge of app development, Xcode, and the Swift language. If you don't know how to program in Swift or how to create an application with Xcode, download our guides Introduction to Swift and Interface Builder. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.

This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.

Comments