At the top of the ViewController.swift file, just below the IBOutlets, create your first story and choice options by creating the following 3 let constants.
Name Value
story0 "You see a fork in the road."
choice1 "Take a left."
choice2 "Take a right."
Again inside viewDidLoad(), make the storyLabel display story0.
⚠️Ignore any yellow warnings for now.
If successful, this is what you should end up with when you run your app:
Unfortunately, when it comes to buttons we can’t simply set the text property on a button like what we did with the Label. However, Apple provides detailed documentation on all iOS UI Element components.
Search StackOverflow and/or Apple documentation to figure out how to “change the title of a button using Swift”. Then set the red button to display choice1 and the purple button to display choice2.
If successful, this is what you should end up with when you run your app: