This project includes solutions to the challenges.
- Temporarily try adding an exception breakpoint to project 1, then changing the call to
instantiateViewController()
so that it uses the storyboard identifier “Bad” – this will fail, but your exception breakpoint should catch it. - In project 1, add a call to
assert()
in theviewDidLoad(
) method of DetailViewController.swift, checking thatselectedImage
always has a value. - Go back to project 5, and try adding a conditional breakpoint to the start of the
submit()
method that pauses only if the user submits a word with six or more letters.
No screenshots provided (since project focus was on debugging techniques).