Re: white screen windows at first
Re: white screen windows at first
- Subject: Re: white screen windows at first
- From: "Paul Sanders" <email@hidden>
- Date: Wed, 28 Apr 2010 09:10:16 +0100
> this problem must be because i am using core graphics
I don't know if this is relevant, but I noticed that there is a Core Graphics function called CGContextFlush. The docs say you shouldn't need to call this but maybe in your case you do. There's also a flushGraphics method of NSGraphicsContext. If you are mixing Cocoa and Quartz drawing calls, these might help solve any timing issues.
Another possibility would be to use Cocoa drawing calls throughout, rather than calling Quartz directly. I do that and it works OK for me. I was attracted by the relative simplicity of doing things this way and Apple engineers have been nudging you in that direction.
Paul Sanders.
_______________________________________________
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