• 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: CALayers Lost After Switching Window's ContentView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayers Lost After Switching Window's ContentView


  • Subject: Re: CALayers Lost After Switching Window's ContentView
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 17 Feb 2009 01:43:46 -0500


On 16-Feb-09, at 5:37 PM, Bridger Maxwell wrote:



You must

- create a layer
- set it as the layer of the view
- then enable setWantsLayer:


Woah, I had no idea I was doing it wrong for so long. :P Inserting the following code is all I have to do, right?

well, that is the correct order if you want to do layer-hosting, yes.

If that's all you have to do to make your code work?? uh, outside of the scope of the snippet you posted. :-)


_______________________________________________

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: 
 >CALayers Lost After Switching Window's ContentView (From: Bridger Maxwell <email@hidden>)
 >Re: CALayers Lost After Switching Window's ContentView (From: Scott Anguish <email@hidden>)
 >Re: CALayers Lost After Switching Window's ContentView (From: Bridger Maxwell <email@hidden>)
 >Re: CALayers Lost After Switching Window's ContentView (From: Scott Anguish <email@hidden>)
 >Re: CALayers Lost After Switching Window's ContentView (From: Bridger Maxwell <email@hidden>)

  • Prev by Date: Re: Convert Cocoa App to Core Data App
  • Next by Date: Re: sticky video/audio files in NSTextView with GC on
  • Previous by thread: Re: CALayers Lost After Switching Window's ContentView
  • Next by thread: Re: CALayers Lost After Switching Window's ContentView
  • Index(es):
    • Date
    • Thread