On Oct 25th 2012 I posted about this.
I finally got around to digging into what the cause was and have now got my app 
working correctly (or at least the way I want it to).

In summary it was all related to saving and restoring the graphic context 
correctly in -drawRect.

In my case I use a number of gradients as well a bezier paths and the crucial 
thing was to understand just where and when to save/restore the context.

None of the tools available were of much use, nor was output in the debugger, 
either console, stack, or variables. It came down to good old-fashioned slicing 
drawRect till I discovered the cause.

So I'm very glad the problem occurred and forced me to research it. I learned a 
great deal and as the saying goes "K is P".

Peter
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to