Re: Weird behavior when adding subview
Re: Weird behavior when adding subview
- Subject: Re: Weird behavior when adding subview
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 21 Apr 2006 03:01:08 -0700
On Apr 20, 2006, at 3:25 PM, Eamon Ford wrote:
I programmatically create an NSTextField and add it as a subview,
in the drawRect: method.
That's your problem, right there. Never manipulate the view
hierarchy inside of -drawRect:.
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden