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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to