nsdocument
Printing an NSDocument
I\'m trying to print a document. The document is an array of NSImageReps, or a single NSPDFImageRep, which has multiple pages. I\'m having trouble figuring out how to use the NSPrintOperation class to[详细]
2022-12-24 11:49 分类:问答Let the user choose what type of document to open
I\'m creating an NSDocument application, with two document types: Website and Web Service. This is in my Info.plist:[详细]
2022-12-23 14:16 分类:问答Where should document-related actions for a Cocoa app be implemented?
I\'m writing a document-based Cocoa app that\'s basically a graphical editing program.I want the user to be able 开发者_JS百科to show/hide non-modal windows (such as an inspector window).Since these w[详细]
2022-12-23 07:59 分类:问答When should I extend NSDocument and when should I extend NSWindowController?
I\'ve an application that ho开发者_开发技巧lds a main window with a list of items, and from that window an undetermined number of windows can be opened. Each of those windows can hold several instance[详细]
2022-12-22 08:58 分类:问答Overriding NSDocument's fileWrapperOfType causes "Document could not be saved."
I\'ve got to be missing something s开发者_如何学运维imple, but Google is not helping. My file saves and loads fine. (I\'ve overridden dataOfType to get some stuff in it.) Then I override fileWrapperO[详细]
2022-12-22 08:55 分类:问答What is a document in this context?
I\'m a bit confused regarding the document architecture. Lets look at MSN for Mac - what would the document be in that application? The contact list? The text we insert to talk to other people?[详细]
2022-12-22 05:15 分类:问答Saving a "project"-type document (containing sub-documents)
I\'m trying to creat开发者_StackOverflow社区e a \"project\"-like document, in that it contains subdocuments in a specified directory. I\'d like a brand new save of a document to set up that directory[详细]
2022-12-22 00:45 分类:问答Shutting down multithreaded NSDocument
I have an NSDocument-based Cocoa app and I have a couple of secondary threads that I need to terminate gracefully (wait for t开发者_StackOverflowhem to run through the current loop) when the users clo[详细]
2022-12-21 02:29 分类:问答set lastPathComponent string after save
Doc based, QTKit app. When saving, the new filename updates in the activ开发者_StackOverflow中文版e window titleBar. I would also like to display the newly saved filename string in a textField, somewh[详细]
2022-12-21 01:54 分类:问答"Building a Text Editor in 15 Minutes" reference example not working
I am trying to work on NSDocument, so I tried the Building a Text Editor in 15 Minutes example in the Text System Overview reference.[详细]
2022-12-19 15:19 分类:问答