• 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
Setting a layer delegate affects drawRect being called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting a layer delegate affects drawRect being called


  • Subject: Setting a layer delegate affects drawRect being called
  • From: Mohan Parthasarathy <email@hidden>
  • Date: Thu, 16 Apr 2009 14:54:41 -0700

Hi,

I have a View whose drawRect method never gets called when I call [View
setNeedsDisplay]. It looks like the reason is that the View's layer delegate
is been set and If I remove that drawRect is called. Is this an expected
behavior or something else is going on ?

thanks
-mohan
_______________________________________________

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

  • Follow-Ups:
    • Re: Setting a layer delegate affects drawRect being called
      • From: David Duncan <email@hidden>
  • Prev by Date: Simulating a click in NSStepper
  • Next by Date: Re: Setting a layer delegate affects drawRect being called
  • Previous by thread: Re: Simulating a click in NSStepper
  • Next by thread: Re: Setting a layer delegate affects drawRect being called
  • Index(es):
    • Date
    • Thread