• 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: NSSplitView and subviews, awkward?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView and subviews, awkward?


  • Subject: Re: NSSplitView and subviews, awkward?
  • From: Jim Balhoff <email@hidden>
  • Date: Thu, 26 May 2005 21:23:59 -0400

On May 26, 2005, at 8:05 PM, Theodore H. Smith wrote:

Also, can someone tell me how to make a subview not a subview anymore? I can't figure that out, either. If I delete the topview, then the subviews are deleted too, and I don't want that.



Look at the documentation for NSView, specifically the methods - (void)removeFromSuperviewWithoutNeedingDisplay
and
- (void)removeFromSuperview



Thanks.

I actually meant, remove from a subview, inside IB, though. I used a work around for now, which is to copy the stuff, and then delete the original.

For one item click and hold on the object. After a little while you will see it "come loose". Or, to get rid of the superview (like a box), select it and choose Layout > Unpack subviews.


Hope this helps,
Jim

_______________________________________________
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


References: 
 >NSSplitView and subviews, awkward? (From: "Theodore H. Smith" <email@hidden>)
 >Re: NSSplitView and subviews, awkward? (From: Charilaos Skiadas <email@hidden>)
 >Re: NSSplitView and subviews, awkward? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Stupid newbie question...
  • Next by Date: Re: Many many tabs
  • Previous by thread: Re: NSSplitView and subviews, awkward?
  • Next by thread: NSButton on/off behaviour, with a blue (not grey) highlight?
  • Index(es):
    • Date
    • Thread