The expanded view for the iMessage app will be a table view that lists all of the quotes in the Quote struct. You will use a similar setup to the one you used before by creating a new view controller file and using the delegate protocol to communicate the selection of a quote back to MessagesViewController.
First, create a new UITableViewController subclass and name it QuotesTableViewController. You can remove most of the commented template code; the only methods you should keep are tableView(_:cellForRowAt:), tableView(_:numberOfRowsInSection:), and numberOfSections(in:). In addition to the commented delegate methods, you can remove the viewDidLoad() and didReceiveMemoryWarning() methods; you don't need them. ...