Saving and Loading Documents

VocalTextEdit is starting to come together! You can enter text and hear it spoken back to you. Unfortunately, there is a pretty major feature missing: The files cannot be saved. You might have seen a notification that your documents cannot be autosaved, as shown in Figure 26.21.

Figure 26.21 VocalTextEdit autosave failure

The VocalTextEdit screen titled “Untitled – Not Saved” is shown. Below the title, a popup box reads: The document could not be autosaved.

Even worse, if you try to save a document, you get a pretty nasty error message, as shown in Figure 26.22.

Figure 26.22 VocalTextEdit save failure

The VocalTextEdit screen titled “Untitled – Not Saved” is shown. Overlapping the screen, a dialog box reads: The document “Untitled” could not be saved as “Hello World.txt.” At the bottom right of the dialog box, OK button is shown.

This might be a little ...

Get Swift Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.