• 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: -NSView setHidden: in 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -NSView setHidden: in 10.2


  • Subject: Re: -NSView setHidden: in 10.2
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 20 Sep 2004 16:45:55 +0200


On 20.9.2004, at 16:33, J Nozzi wrote:

I believe the only reasonable alternative is to retain it and remove it from its superview, replacing it as needed.

... making sure there will be no problems with autosizing (consider a view is hidden=taken out, the window gets resized, the view is shown=put back). It was not exactly easy. There's a plethora of solutions (and discussions) in the mail archives.


There was a reason, by the way: in NeXTStep, hiding views was considered a pretty bad UI design: if something does not work in current circumstances, it should be disabled, not hidden. The user should see the complete UI. OTOH, if something in some circumstances does not make sense at all, it belongs into another tab or into another window. Myself, I can't help it, but the adage still sounds reasonably to me.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: -NSView setHidden: in 10.2
      • From: m <email@hidden>
    • Re: -NSView setHidden: in 10.2
      • From: J Nozzi <email@hidden>
References: 
 >-NSView setHidden: in 10.2 (From: Darrin Cardani <email@hidden>)
 >Re: -NSView setHidden: in 10.2 (From: J Nozzi <email@hidden>)

  • Prev by Date: Re: NSTableView subclass with column-spanning text?
  • Next by Date: Re: -NSView setHidden: in 10.2
  • Previous by thread: Re: -NSView setHidden: in 10.2
  • Next by thread: Re: -NSView setHidden: in 10.2
  • Index(es):
    • Date
    • Thread