• 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: Problem using zPosition on layer backed views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using zPosition on layer backed views


  • Subject: Re: Problem using zPosition on layer backed views
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 31 Oct 2010 15:14:28 -0700

On Oct 31, 2010, at 1:40 PM, Gideon King <email@hidden> wrote:

> Thanks Kyle
>
> That's what I thought before I went into it to start with, but I found posts from people who appeared to be using it on layer backed views, and the only problem they said they were having was that it didn't animate the changes to the z order. I wonder if things are different on iOS and maybe they were talking about UIViews...

I don't know if it's safe to do on iOS either, but I do know that it won't work on Mac OS X. The layer/view syncing machinery will see to that.

>
> Oh well, I'll just have to sort the subviews array.

It's a shame you can't reorder subviews once they've been added to the window. But this does sound like your safest bet. Hit testing will work too.

--Kyle Sluder_______________________________________________

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: 
 >Problem using zPosition on layer backed views (From: Gideon King <email@hidden>)
 >Re: Problem using zPosition on layer backed views (From: Kyle Sluder <email@hidden>)
 >Re: Problem using zPosition on layer backed views (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Problem using zPosition on layer backed views
  • Next by Date: Shadow on a Borderless Window
  • Previous by thread: Re: Problem using zPosition on layer backed views
  • Next by thread: Operating with a file /Library/LaunchAgents/my.application.plist from a non-root application
  • Index(es):
    • Date
    • Thread