drawRect infinite loop -- argh!
drawRect infinite loop -- argh!
- Subject: drawRect infinite loop -- argh!
- From: Brian Hughes <email@hidden>
- Date: Sat, 19 Jul 2008 23:51:08 -0400
- Importance: Normal
How do I track down the cause of an infinite loop in my drawRect method. I have eliminated all extraneous code from the drawRect method but it is still looping. Here's what is left of the code:
- (void)drawRect:(NSRect)rect
{
NSLog (@" In LNTab3View.m drawRect:");
}
LNTabView is a custom view inside a tabView at index 2. It is the view that is looping its drawRect method. It is the only view inside the tab but there are numerous buttons and textFields.
I do have a NSTimer associated with the tab and when activated it fires once a second. The drawRect loop occurs with or without the timer firing, and at a much faster rate per second (62 times per second approx.)
Any help would be greatly apprectiated
_________________________________________________________________
Time for vacation? WIN what you need- enter now!
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm_______________________________________________
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