Re: Static text over an image
Re: Static text over an image
- Subject: Re: Static text over an image
- From: Andre Masse <email@hidden>
- Date: Thu, 30 Oct 2008 12:28:59 -0400
Thanks for your code snippet, I get the idea now.
Andre Masse
On Oct 30, 2008, at 12:07, Alex Curylo wrote:
The exact details escape me now, but I seem to recall that since the
order of -subviews was not completely deterministic depending on
what the latest mucking about in the nib had been I resorted to
something like
NSView** putTheseInFront = {
_ibOverlay1,
_ibTextField2,
...
nil
}
while (*putTheseInFront)
{
NSView* itsSuperview = [*putTheseInFront superview];
[[*putTheseInFront retain] removeFromSuperview];
[itsSuperview addSubview:*putTheseInFront)];
putTheseInFront++;
}
Not exactly scalable, but it sorted the workflow at hand nicely with
no apparent runtime delay.
_______________________________________________
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