7 Working with Table Views

So far, the speech synthesizer has been speaking in the system-wide default voice. In this chapter, you will enable the user to choose what voice the speech synthesizer speaks in. In particular, you are going to add a table view to SpeakLine that lists the voices available on the system. The user can then select a row in this table to change the voice. The completed application is shown in Figure 7.1.

Figure 7.1  Users can change the speech synthesizer’s voice

Users can change the speech synthesizer’s voice

Before diving into the application, let’s go over some general ideas about table views.

About Table Views

A table view is used ...

Get Cocoa Programming for OS X: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.