Re: drawingRectForBounds not being called
Re: drawingRectForBounds not being called
- Subject: Re: drawingRectForBounds not being called
- From: Kyle Sluder <email@hidden>
- Date: Sat, 31 Jul 2010 09:09:46 -0700
On Jul 31, 2010, at 8:31 AM, Tony Romano <email@hidden> wrote:
> Here is one additional thing I discovered. I have an outlet to the NSTextField that contains the cell so I can write text to it. This is the only connection to my application. If I remove the outlet, the drawingRectForBounds: is called. If I add it back, it won't get called. Why should having an outlet to the control have any affect on this method getting called. Something weird is going on.
Well the most likely thing is that you're doing something with the outlet, and whatever that thing is, it results in the text field or its cell being configured in such a way that your override isn't called.
Post all the code that uses the outlet.
--Kyle Sluder_______________________________________________
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