• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unwanted Animations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Unwanted Animations
      • From: Alex Zavatone <email@hidden>
    • Re: Unwanted Animations
      • From: Gordon Apple <email@hidden>
References: 
 >Re: Unwanted Animations (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Unwanted Animations
  • Next by Date: Re: Unwanted Animations
  • Previous by thread: Re: Unwanted Animations
  • Next by thread: Re: Unwanted Animations
  • Index(es):
    • Date
    • Thread