Re: Strange behivor when our document-based Cocoa application launch on lion
Re: Strange behivor when our document-based Cocoa application launch on lion
- Subject: Re: Strange behivor when our document-based Cocoa application launch on lion
- From: Dong Feng <email@hidden>
- Date: Mon, 12 Dec 2011 11:26:58 +0800
I think Qiang's problem has nothing to do with the Lion's new asynchronous
opening mechanism. Qiang's problem is about whether or not
"openDocumentWithContentsOfURL..." is invoked or not, regardless synch or
asynched version. In 10.6, it is not invoked and in Lion it is invoked (and
happen to be the asynched version, which in turn invokes the synched
version if the document class claim it does not support concurrent open).
I myself don't have answer to Qiang's question. And I don't think the
section on "asynchronous opening" in release notes has any light shed on it.
Dong
2011/12/9 Jerry Krinock <email@hidden>
>
> On 2011 Dec 08, at 02:54, qiang zhu wrote:
>
> > Can anyone tell the cause or any cue to find the root cause will be
> > appreciated.
>
> A lot change in Lion. Read the section titled
>
> "NSDocumentController Asynchronous Opening and Reopening"
>
> in the Mac OS X Lion AppKit Release Notes, currently at
>
> http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKit.html
>
> (until Apple moves it)
>
> The header file they refer you to for details,
> AppKit/NSDocumentController.h, is in your /Developer directory installed by
> Xcode 4.
>
> _______________________________________________
>
> 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
>
_______________________________________________
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