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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
