Re: currentDocument

2008-12-02 Thread Michael Ash
On Tue, Dec 2, 2008 at 11:06 AM, gMail.com <[EMAIL PROTECTED]> wrote: > Hi, > I use to get the currentDocument this way >[[NSDocumentController sharedDocumentController] currentDocument] > It works well but not in the following case > > My apps opens automatically a document with >- (BOOL)r

Re: currentDocument

2008-12-02 Thread Jerry Krinock
On 2008 Dec, 02, at 8:06, gMail.com wrote: I really build my objects using the dictionary mDocDict. But at this point [[NSDocumentController sharedDocumentController] currentDocument] returns nil.. How to fix this? Looks like your document is not registered with the sharedDocumentContr