On May 25, 2014, at 2:09 PM, Gordon Apple <g...@ed4u.com> 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 (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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com