© Wallace Wang 2019
Wallace WangPro iPhone Development with Swift 5https://doi.org/10.1007/978-1-4842-4944-4_7

7. Passing Data Between Files

Wallace Wang1 
(1)
San Diego, CA, USA
 

Every storyboard consists of one or more view controllers that displays a view or window of your program’s user interface. To control the user interface objects on a scene, such as buttons or text fields, each view controller is connected to its own .swift class file where you can write Swift code to create IBOutlets and IBAction methods.

In most iOS projects, there is a single AppDelegate.swift file and one or more view controller files that manage the views and the user interface objects displayed on that view such as buttons, text fields, and labels. So you need to know ...

Get Pro iPhone Development with Swift 5: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.