On Jul 19, 2008, at 11:51 PM, Brian Hughes wrote:
How do I track down the cause of an infinite loop in my drawRect
method.
Have you tried putting a breakpoint in it?
Are there any other custom views in your view hierarchy, and if so,
what do *their* -drawRect: methods look like? One possible bug is
that you are getting infinite recursion because a -drawRect: method is
forcing a redraw, which causes -drawRect: to be called again, which
forces another redraw, etc.
--Andy
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]