Define a Document Type for To Do

You already learned about Document Types in Chapter 11, so setting up the To Do document type should be old hat:

  1. In Project Builder, select the default document type in the Document Types listing. Change its name to ToDoDocument.

  2. Leave the role set to Editor.

  3. Make the document extension tdo.

  4. In Section 14.1.2, you learned that application signatures can be associated with a document to create a “strongly bound document.” You can add the To Do application signature to the To Do document type now if you wish; simply type ToDo in the OS types list. If you don’t want to create a strongly bound application, leave this blank (delete the default entry "????").

  5. To associate an icon with this document type, follow the same procedure you used in the previous section to create an application icon, and then specify the name of the document icon file.

Get Learning Cocoa 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.