The AppController's toolbarItemsForDocument: parameter is not being used in the TextEditor sample. In addition the following comment appears in it:
// Cache document toolbar items. These must *only* target the given object (not the document)
so that we can reuse them.
Is the OUIDocument parameter legacy code that wouldn't typically be used or is the TextEditor samle a special case where it's not needed?
The AppController's
toolbarItemsForDocument:parameter is not being used in the TextEditor sample. In addition the following comment appears in it:Is the
OUIDocumentparameter legacy code that wouldn't typically be used or is the TextEditor samle a special case where it's not needed?