• 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: Disabling NSOutlineView animations not respected in Mavericks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling NSOutlineView animations not respected in Mavericks


  • Subject: Re: Disabling NSOutlineView animations not respected in Mavericks
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 30 Oct 2013 10:58:36 -0700

On Wed, Oct 30, 2013, at 10:16 AM, Sebastien Boisvert wrote:
> We've noticed that disabling expand/collapse animations isn't respected
> under Mavericks (still works fine in Lion/ML) - is there a specific way
> to avoid it in Mavericks?
>
> Tthe trick we use (as per Apple):
>
> - (void)expandItem:(id)item expandChildren:(BOOL)expandChildren
> {
>     [NSAnimationContextbeginGrouping];
>     [[NSAnimationContextcurrentContext] setDuration:0];

NSAnimationContext now has an `allowsImplicitAnimation` property, which
is analogous to +[UIView setAnimationsEnabled:] on iOS. Have you tried
setting that to NO?

--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: Disabling NSOutlineView animations not respected in Mavericks
      • From: Sebastien Boisvert <email@hidden>
References: 
 >Disabling NSOutlineView animations not respected in Mavericks (From: Sebastien Boisvert <email@hidden>)

  • Prev by Date: Disabling NSOutlineView animations not respected in Mavericks
  • Next by Date: Re: Disabling NSOutlineView animations not respected in Mavericks
  • Previous by thread: Disabling NSOutlineView animations not respected in Mavericks
  • Next by thread: Re: Disabling NSOutlineView animations not respected in Mavericks
  • Index(es):
    • Date
    • Thread