Re: currentDocument
Re: currentDocument
- Subject: Re: currentDocument
- From: Jerry Krinock <email@hidden>
- Date: Tue, 2 Dec 2008 10:20:58 -0800
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
sharedDocumentController. I believe you're going to have to create a
document (some NSDocument subclass) out of your new data. Then,
[[NSDocumentController sharedDocumentController]
addDocument:myNewDocument] ;
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden