UIView hidden - still drawing the subviews? [SOLVED]
UIView hidden - still drawing the subviews? [SOLVED]
- Subject: UIView hidden - still drawing the subviews? [SOLVED]
- From: Jelle De Laender <email@hidden>
- Date: Tue, 17 Mar 2009 22:42:11 +0100
It seems that the new Interface Builder react very strange on my
commands...
I've retry it and it works now, just like I expected and just like it
should be.
So this 'problem' is solved.
Begin forwarded message:
From: Jelle De Laender <email@hidden>
Date: Tue 17 Mar 2009 22:32:09 GMT+01:00
To: Cocoa Developers <email@hidden>
Subject: UIView hidden - still drawing the subviews?
Hi
I've a UIView with some subviews (most of them are UIButtons).
When I hide an UIView (setHidden:YES), I expect that the subviews
are also hidden (not drawed)... but the subviews are still visible
when I run my code.
How can I hide the subviews when I hide a UIView? Should I create a
subclass and overwrite the setHidden: method (and recall setHidden
on every subview) or is there a better way to do this?
Kind regards
Jelle
_______________________________________________
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