• 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
Removing subviews that are layer backed problem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing subviews that are layer backed problem.


  • Subject: Removing subviews that are layer backed problem.
  • From: Mathieu Coursolle <email@hidden>
  • Date: Wed, 23 Apr 2008 10:08:50 -0400

Hi Cocoa developers,

I have a custom view (let's call this one the main view) which shows some UI controls and another custom subview which is layer backed (wantsLayer = YES). I created my own CAOpenGLLayer subclass to perform specific OpenGL drawing in it.

The main view needs to change its content view according to some state. When I remove
a content view which has a layer-backed subview, the layer does not disappear right away.
Its stays there for 1 second and then disappear.


Should it disappear as I remove its view?

Thanks!

MAthieu

_______________________________________________

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


  • Prev by Date: Re: Resource Fork - is this a good use/the right thing to do?
  • Next by Date: Re: Resource Fork - is this a good use/the right thing to do?
  • Previous by thread: Re: NSScanner question
  • Next by thread: Special handling of keystrokes in a window controller
  • Index(es):
    • Date
    • Thread