• 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
SetHidden on two objects... Slow to hide
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SetHidden on two objects... Slow to hide


  • Subject: SetHidden on two objects... Slow to hide
  • From: Trygve Inda <email@hidden>
  • Date: Thu, 27 Jul 2006 10:26:57 +0000
  • Thread-topic: SetHidden on two objects... Slow to hide

I call:

[myViewA setHidden:YES];
[myViewB setHidden:YES];

A is a spinning progress indicator, B is a text field. The spinner
disappears about .75 seconds before the text regardless of the order of
these lines.

Is the only way to hide them simultaneously (to the user) to encapsulate
them in an NSView containing object?

I would have thought that setHidden would queue them up to be redrawn the
next time through the loop and thus they'd vanish at the same time.

Thanks,

Trygve


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: SetHidden on two objects... Slow to hide
      • From: PGM <email@hidden>
    • Re: SetHidden on two objects... Slow to hide
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: RE: How to convert 32bit to 24 bit NSBitmapImageRep
  • Next by Date: currentDirectoryPath returns different paths
  • Previous by thread: Re: Show/Hide columns in NSTableView?
  • Next by thread: Re: SetHidden on two objects... Slow to hide
  • Index(es):
    • Date
    • Thread