Skip navigation.
 
mlSetHidden on two objects... Slow to hide
FROM : Trygve Inda
DATE : Thu Jul 27 12:26:57 2006

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

Related mailsAuthorDate
mlSetHidden on two objects... Slow to hide Trygve Inda Jul 27, 12:26
mlRe: SetHidden on two objects... Slow to hide Ricky Sharp Jul 27, 13:43
mlRe: SetHidden on two objects... Slow to hide Trygve Inda Jul 27, 14:24
mlRe: SetHidden on two objects... Slow to hide Trygve Inda Jul 27, 14:41
mlRe: SetHidden on two objects... Slow to hide Matt Mashyna Jul 27, 15:03
mlRe: SetHidden on two objects... Slow to hide PGM Jul 27, 16:21
mlRe: SetHidden on two objects... Slow to hide Shawn Erickson Jul 27, 16:27
mlRe: SetHidden on two objects... Slow to hide Mike Abdullah Jul 27, 17:09