Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Overlapping Subviews

Overlapping Subviews
Thread Tools
Junior Member
Join Date: Dec 2000
Location: Boston, MA USA
Status: Offline
Reply With Quote
Apr 15, 2002, 12:11 AM
 
I read somewhere (I think it was in the Apple Documentation for NSView) that overlapping subviews of an NSView is not recommended, but no reason was given. An app I'm working on does this extensively. Is there any particular reason why this is a bad thing, besides the performance hit lots of views tends to incurr?

Thanks,
Ross
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Apr 15, 2002, 05:25 PM
 
It's because the view architecture doesn't really model layering. So depending on what happens at run time, two overlapping views may change their relative z-order. Or they won't nicely handle areas where a transparent part of one view overlaps the other.
Rick Roe
icons.cx | weblog
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:46 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2