-
Notifications
You must be signed in to change notification settings - Fork 0
Wiki for Example 1
The object of this example is to learn to use the storyboard and to link the storyboard elements to the controller files and to use those links to provide functionality to the storyboard elements. As little as possible should be done programmatically (only the black boarder on the text box and the functionality on the action methods will have to be added programmatically).
The end result should look like this: 
Here are the project requirements.
- Begin with a single-view project to create this project.
- Use the storyboard to create the view above. The view should include
- Two buttons, the "Left Button" with blue text and no border and the "Right Button" with blue text and no border.
- The left button should have Helvetica font, size 17. The right button should have Snell Roundhand font, size 20.
- When the page first appears, the cursor should be in the left text box. When the left button is pressed it should erase any text typed in the left textbox and shift the cursor to the right text box. When the right button is pressed, it should erase any text in the right text box and change the cursor to the left text box. *The two text fields should be above the buttons. The left text field should have a light gray background color and a black border of two pixals. The right textbox should have a cantoloupe background color and no border.
Resources. Most of the info you need to accomplish this assignment can be found in Big Nerd Ranch Guild 8-18 and 199 though 200, particularly the first paragraph on page 200, which is the best way for making connections, much better than the method given during the 8-18 explanation.
Also, see the trello document on textfields for getting the boarder around the first textfield.
Any questions can usually be Googled and addressed in stackoverflow. The full code once you're done and want to check your answer is in this repository.