iOS and Swift Tutorials

Passing Data Between View Controllers - iOS Development in Swift 4 - 06

Hide/Show description

In this Swift 4 tutorial, we'll show you how to pass data between view controllers using a third object that will hold all of our data. We'll pass data to this third object to hold onto and when the first view controller reappears, we'll grab that stored data in from that object and display it in a textfield. This is more highly cohesive, but has low coupling and is scaleable. In future videos we'll show how to expand upon this app using a tableview and then send out notifications that certain events happened. More information: Facebook: Your armorer: