Re: IB3 "Wants Animation Layer" options
Re: IB3 "Wants Animation Layer" options
- Subject: Re: IB3 "Wants Animation Layer" options
- From: David Duncan <email@hidden>
- Date: Wed, 23 Apr 2008 15:00:08 -0700
On Apr 23, 2008, at 2:38 PM, David Hoerl wrote:
Core Animation noobie trying to get his feet wet. When dragging a
customer view into a window, I want to enable layers. I drag the
Custom View into the window, select it, then look at the "View
Effects" options in "Wants Core Animation Layer". What I see are two
checkboxes:
- Content View
- Custom View
Googling provides some hints: checking the "Content View" seems to
imply:
[[aWindow contentView] setWantsLayer:YES];
What does "Custom View" option do (or mean)?
The list in Interface Builder effectively represents the views that
are parents, grandparents, etc of the view you have selected. You see
"Custom View" because that is the default name of a vanilla NSView.
The list is there because setting layer backing for any given view
also sets it for all descendent views. If you had a deeper hierarchy,
you'd have seen more views in the list.
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden