• 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: How to find all clipping siblings for a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find all clipping siblings for a view?


  • Subject: Re: How to find all clipping siblings for a view?
  • From: Jonathan Hess <email@hidden>
  • Date: Sat, 17 Apr 2010 12:35:57 -0700

On Apr 16, 2010, at 9:48 AM, Kyle Sluder wrote:

>> It works OK with non layer-backed views in my experience, but you do get a build warning if sibling views overlap in a nib.  Sibling views are drawn in the order they appear in the parent's list of subviews (or possibly the inverse order, I don't precisely recall).  The exact effect you get depends on whether they erase the background first and suchlike.
>
> Also, IB had (has?) a bug where it would unarchive views in the
> reverse order from which they were stored in the nib.

Yep, this bug applied to custom views but has been fixed with IB 3.2/Snow Leopard.

> IB does allow
> you to reorder subviews, so if you are still being bitten by this you
> could build your interface and then reorder the views such that they
> are backwards. Then they should unarchive correctly at runtime.

If you're working with a release previous to IB 3.2/Snow Leopard, this workaround works great. It won't break when you start using 3.2. Also, using IB 3.2 and deploying to a release previous to Snow Leopard will work as expected.

Jon Hess

_______________________________________________

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: 
 >Re: How to find all clipping siblings for a view? (From: "Alexander Bokovikov" <email@hidden>)
 >Re: How to find all clipping siblings for a view? (From: Jens Alfke <email@hidden>)
 >Re: How to find all clipping siblings for a view? (From: "Paul Sanders" <email@hidden>)
 >Re: How to find all clipping siblings for a view? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Launch app with params as front process and wait?
  • Next by Date: Re: Launch app with params as front process and wait?
  • Previous by thread: Re: How to find all clipping siblings for a view?
  • Next by thread: How can we Pause And Play the Animations on UIView
  • Index(es):
    • Date
    • Thread