I use undocumented NSWindowDidOrderOnScreenAndFinishAnimatingNotification.
Be careful when handling it. It seems firing more then one time, and sometimes
from thread other then main.
16.08.2012, в 7:02, Rick Mann написал(а):
> After googling, I found that in -[NSDocument windowControllerDidLoa
On 8/16/12 5:02 AM, Rick Mann wrote:
After googling, I found that in -[NSDocument windowControllerDidLoadNib], I
had to begin my sheet by calling performSelector on the main thread (actually
I scheduled a block operation). This is kinda gross, but seems to work.
Unfortunately, the result is that
On Aug 17, 2012, at 3:38 , Graham Cox wrote:
>
> On 16/08/2012, at 1:02 PM, Rick Mann wrote:
>
>> After googling, I found that in -[NSDocument windowControllerDidLoadNib], I
>> had to begin my sheet by calling performSelector on the main thread
>> (actually I scheduled a block operation). T
On 16/08/2012, at 1:02 PM, Rick Mann wrote:
> After googling, I found that in -[NSDocument windowControllerDidLoadNib], I
> had to begin my sheet by calling performSelector on the main thread (actually
> I scheduled a block operation). This is kinda gross, but seems to work.
>
> Unfortunately
It's the default behavior.
--
Rick
On Aug 17, 2012, at 2:03, Mike Abdullah wrote:
>
> On 17 Aug 2012, at 00:11, Rick Mann wrote:
>
>> I'm surprised this is so hard to do.
>
> I'd argue that rather than a pair of animations, what you better is to open
> the window non-animated, and then a
On 17 Aug 2012, at 00:11, Rick Mann wrote:
> I'm surprised this is so hard to do.
I'd argue that rather than a pair of animations, what you better is to open the
window non-animated, and then animate the sheet over it. Have you looked into
that?
_
I'm surprised this is so hard to do.
--
Rick
On Aug 16, 2012, at 16:10 , Laurent Daudelin wrote:
> On Aug 16, 2012, at 15:51, Rick Mann wrote:
>
>> On Aug 16, 2012, at 7:08 , Dmitriy Balakirev
>> wrote:
>>
>>> I use undocumented NSWindowDidOrderOnScreenAndFinishAnimatingNotification.
>>
On Aug 16, 2012, at 15:51, Rick Mann wrote:
> On Aug 16, 2012, at 7:08 , Dmitriy Balakirev
> wrote:
>
>> I use undocumented NSWindowDidOrderOnScreenAndFinishAnimatingNotification.
>> Be careful when handling it. It seems firing more then one time, and
>> sometimes from thread other then main.
On Aug 16, 2012, at 7:08 , Dmitriy Balakirev
wrote:
> I use undocumented NSWindowDidOrderOnScreenAndFinishAnimatingNotification.
> Be careful when handling it. It seems firing more then one time, and
> sometimes from thread other then main.
Yeah, that was suggested to me by someone else, and
After googling, I found that in -[NSDocument windowControllerDidLoadNib], I had
to begin my sheet by calling performSelector on the main thread (actually I
scheduled a block operation). This is kinda gross, but seems to work.
Unfortunately, the result is that the main window animates opening
si
10 matches
Mail list logo