Segue Practice is a simple app that was written to practice using protocols and delegates to pass data back from a second view controller to the initial view. Each time the button is pressed, the text from the input field is passed to the label in the next view. The initial view has a toggle switch to preserve state and show that the user is returning to that view instead of going to a new instance of the view created from the initial view's class.
-
Notifications
You must be signed in to change notification settings - Fork 0
Chuabacca/segue-practice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple two-view app to practice setting up segues to pass data forward and protocols and delegates to pass data back to the first view.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published