Re: Need advice on a custom run-loop mode
Re: Need advice on a custom run-loop mode
- Subject: Re: Need advice on a custom run-loop mode
- From: Jens Alfke <email@hidden>
- Date: Sat, 21 May 2016 23:27:39 -0700
> On May 20, 2016, at 11:55 PM, Graham Cox <email@hidden> wrote:
>
> The view is definitely being marked dirty, and I’m explicitly calling -displayIfNeeded, and -drawRect: is getting called as a result. But the screen is not updated. I tried making an explicit call to flush the graphics context but that had no effect either.
Have you tried calling -[NSWindow display]? IIRC that sometimes works when -displayIfNeeded doesn’t.
—Jens
_______________________________________________
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