• 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: setNeedsDisplay: thread safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setNeedsDisplay: thread safe?


  • Subject: Re: setNeedsDisplay: thread safe?
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 9 Apr 2004 07:26:04 +0200

Am 09.04.2004 um 01:23 schrieb lbland:

If you are in a modal loop then you need to call display (the run loop is starved). Just one example.

I think the correct way would be

[myView setNeedsDisplay:YES];
[myView displayIfNeeded];


Andreas

P.S.: Please don't crosspost. This thread is already split in two ...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >setNeedsDisplay: thread safe? (From: "Mike R. Manzano" <email@hidden>)
 >Re: setNeedsDisplay: thread safe? (From: Jirka Jirout <email@hidden>)
 >Re: setNeedsDisplay: thread safe? (From: "Mike R. Manzano" <email@hidden>)
 >Re: setNeedsDisplay: thread safe? (From: Shawn Erickson <email@hidden>)
 >Re: setNeedsDisplay: thread safe? (From: lbland <email@hidden>)

  • Prev by Date: Re: What is called AFTER awakeFromNib?
  • Next by Date: delegate outlet
  • Previous by thread: Re: setNeedsDisplay: thread safe?
  • Next by thread: Re: setNeedsDisplay: thread safe?
  • Index(es):
    • Date
    • Thread