Hi,

I´ve a problem with the animator proxy under 10.5
Code:

-(IBAction)doModal:(id)sender
{
NSRect windowFrame = [ window frame ];
windowFrame = NSInsetRect(windowFrame, -100.0, -100.0 );
[ [ window animator ] setFrame:windowFrame display:YES ];
// animation wouldn´t start in 10.5 if followed by runModalForWindow
[ NSApp runModalForWindow:window ];
}

No problems with 10.6. Snow Leopards release notes say:
"On 10.5, NSView and NSWindow property animations that were scheduled through the view’s/window’s “animator”, and that were evaluated by AppKit (rather than being delegated to Core Animation for threaded asynchronous evaluation), were scheduled for updating in the NSDefaultRunLoopMode.
On 10.6, such animations are now evaluated in NSRunLoopCommonModes."

Is there a similar way to run a modal window without blocking an animation in 10.5?

Thanks for your time, Markus

_______________________________________________

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 arch...@mail-archive.com

Reply via email to