Re: Unwanted Animations
Re: Unwanted Animations
- Subject: Re: Unwanted Animations
- From: Kyle Sluder <email@hidden>
- Date: Sun, 25 May 2014 14:16:50 -0400
On May 25, 2014, at 2:09 PM, Gordon Apple <email@hidden> wrote:
>
> Thanks, David. Overriding actionForKey to return nil for ³position² worked.
> I also added ³frame² and ³bounds² for resizing.
>
> Now, any opinions on the toolbar animation? I don¹t see any public API to
> kill that in NSToolbar or NSWindow.
Why would you want to kill those? They’re part of the OS look-and-feel.
If you're trying to initially set up the window, -[NSWindow setFrame:animated:] will let you do so without animation. Adding the toolbar using -setToolbar: shouldn’t provoke an animation, and I *think* -[NSToolbar setHidden:] will also forego the animation.
--Kyle Sluder
_______________________________________________
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