Skip to content

Repository to understand how to leverage delegates to pass data between View Controllers

Notifications You must be signed in to change notification settings

mvs6909/Delegate-Protocols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Delegate/Protocol

A simple project to understand how to pass data between 2 View Controllers in Swift

Setup

There are 2 View Controllers: firstViewController and secondViewController

firstViewController

textField : Takes message that the user wants to pass to the secondViewController

sendButton: Button to segue to the next screen

responseLabel: A text label to recieve data from the secondViewController and print it reversed

secondViewController

recievedLabel: A text Label to display the message recieved from the firstViewController

backButton: A navigation bar button to go back to the firstViewController

Video Walkthrough

About

Repository to understand how to leverage delegates to pass data between View Controllers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages