From 08a9e4a46eda31cb0da00bcb4d29b3badb72fa32 Mon Sep 17 00:00:00 2001 From: "Peter J. Keleher" <keleher@cs.umd.edu> Date: Sun, 19 Apr 2020 12:06:11 -0400 Subject: [PATCH] auto --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..46ecd40 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ + +We have built a very small example app that contains a FirstController and a SecondController wrapped in a navigation controller. + +You need to write the code to make this work. + +The way this is intended to work is: +- The FirstController has a label that says "nothing yet". +- Clicking on "Second" segues to the SecondController, which has a textField. The FirstController must TELL the SecondController to specify "Change Me!" as the initial value of it's TextField. +- When the user hits the "Back" nav button, the SecondController informs the FirstController of the TextField's new value, which the FirstController sets as it's label's new value. + +It's unorthodox, but we want you to write all the code for two controllers together in the supplied box (the "ViewController.swift" file). + +You may work on this question in Xcode. + +**Enter the full text of your `ViewController.swift` file (containing the full definitions of both controller types, plus anything else you need to define) it the answer field on GradeScope.** + + -- GitLab