cocoa - App that is a viewer and editor for the same data type? -


the nsdocument system files read , write particular data type. type needs both read-only , read-write? i'm planning e-mail app; need read-write document type composing messages before sending, , read-only type reviewing sent messages (from sent items folder). mail.app works this.

would done 2 nsdocument subclasses? (they use same rfc822 class model class.) how make 1 document type read-only?

it's still 1 document. have different ui display editing. in case of email display editing new or reply/reply all/forward action methods. (quoting original mail appropriate. ) technically go , open "read only" mail file in editor can open file.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -