On 31/10/2008, at 1:26 AM, Shawn Erickson wrote:
You normally deal with this by nesting views... your text view would be a subview of the image view or by doing custom rendering.
Exactly right. As already stated, you add a view as a subview of another by double-clicking the parent view (in this case the image view) which will move IB's focus to the view itself.
If you now drag a control onto the view, it will be placed as a subview of the selected view. This will make the new control always render in front of the parent, because it is a subview in the view hierarchy.
There is absolutely no need to do any programmatic modification of the view hierarchy! You can do it all in Interface Builder.
-- Rob Keniger _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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]