On 25/06/2009, at 10:47 AM, Chunk 1978 wrote:

i have a simple black NSView that is positioned the top index level of
the main view, covering all other visual elements in IB.  it's purpose
is to fade out, so the view appears to fade in.  i have to often move
it out of the way, and i also set it to hidden (then change it to not
hidden at launch) just so i see the other objects under it in the
window.  is there a way in IB to keep this black view at the highest
index, making it set to not hidden, but to make it invisible in IB
only?


Isn't the hidden property of a view animated under Core Animation? If so, all you need to do is to layer-back the view and show/hide all the controls, or possibly show/hide the layer (I've not done much with CA so unsure on this).

IB is essentially what-you-see-is-what-you-get, but there's nothing to stop you modifying the covering view in the -awakeFromNib method, which is called before the view is displayed.

--Graham




_______________________________________________

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 arch...@mail-archive.com

Reply via email to