• 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: IB3 "Wants Animation Layer" options
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >IB3 "Wants Animation Layer" options (From: David Hoerl <email@hidden>)

  • Prev by Date: Re: IB question
  • Next by Date: Re: IB question
  • Previous by thread: IB3 "Wants Animation Layer" options
  • Next by thread: SHM_NAME_MAX
  • Index(es):
    • Date
    • Thread