• 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(2): is [uiObject display] necessary ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): is [uiObject display] necessary ?


  • Subject: Re(2): is [uiObject display] necessary ?
  • From: Jens Bauer <email@hidden>
  • Date: Wed, 5 Dec 2001 18:10:46 +0100

Hi Ondra,

On Wed, 5 Dec, 2001, Ondra Cada <email@hidden> wrote:

>>>>>>> John Hornkvist (JH) wrote at Wed, 5 Dec 2001 11:17:57 +0100:
>JH> >[icon setImage[NSImage imageNamed:@"Yep"]]];
>JH> >[icon display];
>JH>
>JH> It's generally not needed. And even if it was needed, this would usually
>JH> be the wrong way to do it.
>JH>
>JH> When you do need to make something refresh, you call [icon
>JH> setNeedsDisplay:YES], allowing the system to aggregate display calls.
>
>Unless you want to redisplay an object before the current event loop ends,
>like in a loop. Which, so far as I know, should be more or less the only
>case
>when display is in order indeed.

OK, then I think I need to "force" the display to give proper feedback,
as it's
an installer-like application, which is running through steps 1 through 5.

Thankyou very much for your help, everyone. :)

(I learned Cocoa in one day, and feel like both a beginner and a pro at
the same time!)


Love,
Jens


  • Follow-Ups:
    • HW Serial Number
      • From: David Shaffer <email@hidden>
  • Prev by Date: QuickTime requires window server
  • Next by Date: Re: ObjC++ (and a word about Java, too ;-)
  • Previous by thread: QuickTime requires window server
  • Next by thread: HW Serial Number
  • Index(es):
    • Date
    • Thread