• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawingRectForBounds not being called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >drawingRectForBounds not being called (From: Tony Romano <email@hidden>)
 >Re: drawingRectForBounds not being called (From: Kyle Sluder <email@hidden>)
 >Re: drawingRectForBounds not being called (From: Tony Romano <email@hidden>)
 >Re: drawingRectForBounds not being called (From: Tony Romano <email@hidden>)

  • Prev by Date: [Meet] Cocoa Camp Atlanta
  • Next by Date: Re: [iPhone] Nib Loading Question
  • Previous by thread: Re: drawingRectForBounds not being called
  • Next by thread: Search Kit memory management
  • Index(es):
    • Date
    • Thread