Re: Hide Interface Builder Object?
Re: Hide Interface Builder Object?
- Subject: Re: Hide Interface Builder Object?
- From: Peter N Lewis <email@hidden>
- Date: Thu, 25 Jun 2009 16:21:28 +0800
On 25/06/2009, at 8:47 , 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?
Some easy solutions would be:
* Create the view programatically - presumably it covers an entire
view (or the content view), so creating the view and sizing it to the
other view would be trivial and not need to be positioned/adjusted in
Interface Builder.
* Move the view to the back in Interface Builder (ie, drag it to the
top of the list in the outline view). Then programatically move it to
the front.
* Offset it by 1000 pixels, and then offset it back programatically.
Enjoy,
Peter.
--
Clipboard Switching and Macros with Keyboard Maestro
Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
<http://www.stairways.com/> <http://download.stairways.com/>
_______________________________________________
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