• 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 layer-backed NSViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing layer-backed NSViews


  • Subject: Removing layer-backed NSViews
  • From: "David Simpson" <email@hidden>
  • Date: Fri, 7 Dec 2007 15:29:22 +0000

Hey,
I am trying to understand some layer backed NSView behavior.  Consider this
example :

I have a document window with one simple NSView with 'Core Animation'
switched on in IB3.  This is layer backing the view.  The problem is, if i
make a call to :

[theLayerBackedView removeFromSuperview];

There is a 1-2 second pause before the view disappears from the window
on-screen.  Does anyone know why this might be?  If layer backing is
disabled, it disappears straight away (as I would expect).

I don't have layer backing switched on the window's content view (nor do I
want to).  I only want to add & remove individual views with layer backing.

Any thoughts are very gratefully received.

Thanks,
David
_______________________________________________

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: NSTextView data bindings losing info when saving to core data.
  • Next by Date: Re: Notification for mouse-up on NSStepper
  • Previous by thread: NSTextView data bindings losing info when saving to core data.
  • Next by thread: GCC Standard Predefined Macros
  • Index(es):
    • Date
    • Thread