• 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: Hiding a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding a view


  • Subject: Re: Hiding a view
  • From: rsharp <email@hidden>
  • Date: Thu, 25 Oct 2001 07:36:09 -0500 (CDT)

On Thu, 25 Oct 2001, Ondra Cada wrote:

> Dustin,
>
> >>>>>> Dustin Mierau (DM) wrote at Thu, 25 Oct 2001 00:17:15 -0700:
> DM> This is probably a stupid question, how do I hide a subview? I
> DM> can't actually find a method to "hide" an NSVIew.
>
> Move it well outside its superview (eg. set its origina to [100000,origy] or so).

Are you serious? And what happens if you have "geometry management" where
other objects are posistioned relative to that subview?

If Cocoa doesn't have a Show/Hide API then it really should. We still
have to use this lame framework (Zinc) at my day job and it too doesn't
have Show/Hide. You thus have to move stuff offscreen, but not if it has
geometry management...if it does, there's no way to hide it as when you
move something offscreen, some sibling items go offscreen too.

Visibility and position should _not_ be dependent upon each other.

Rick Sharp
Instant Interactive(tm)


  • Follow-Ups:
    • Re: Hiding a view
      • From: "Erik M. Buck" <email@hidden>
References: 
 >Re: Hiding a view (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Child threads and the UI
  • Next by Date: Images in a Table
  • Previous by thread: Re: Hiding a view
  • Next by thread: Re: Hiding a view
  • Index(es):
    • Date
    • Thread