Challenge: SpeakLineViewController

I won’t include any of the original SpeakLine code here as you’ll work it out soon enough (if in doubt, check Chapter 6).

All you need to do create the SpeakLineViewController.swift and SpeakLineViewController.xib files in your project. Then you just create the use interface as it was in Chapter 6 and all the code needed to get SpeakLine working. Then, in AppDelegate.swift include the following:

let speakLineViewController = SpeakLineViewController()
speakLineViewController.title = “SpeakLine”


Once I worked out that I needed to use a view rather than a window the solution came together.