• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hide Interface Builder Object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide Interface Builder Object?


  • Subject: Re: Hide Interface Builder Object?
  • From: Graham Cox <email@hidden>
  • Date: Thu, 25 Jun 2009 14:27:31 +1000


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 (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


References: 
 >Hide Interface Builder Object? (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: Setter Getter on NSImageVIew / UIImageView?
  • Next by Date: Re: Application Support Folder
  • Previous by thread: Hide Interface Builder Object?
  • Next by thread: Re: Hide Interface Builder Object?
  • Index(es):
    • Date
    • Thread