Removing layer-backed NSViews
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