• 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: slipping NSViews as a NSSplit view under existing window contents.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slipping NSViews as a NSSplit view under existing window contents.


  • Subject: Re: slipping NSViews as a NSSplit view under existing window contents.
  • From: Dave Batton <email@hidden>
  • Date: Tue, 2 Jan 2007 23:50:58 +0100

Jaime,


The application has a window with elements that completely cover the surface of the window. I need to modify that window by separating the elements into two sections and place those sections atop two NSViews aligned as a NSSplitView (to achieve a iTunes-like window effect).

I struggled with trying to make an interface inside of splitters with no margins. It's a real headache. I discovered the trick is to do the layout for each side of the split view in a separate custom view, then procedurally move these views into place at runtime.


I wrote about this technique in a blog entry with an example project:

<http://www.mere-mortal-software.com/blog/details.php?d=2006-12-21>


-- Dave Batton Mere Mortal Software http://www.Mere-Mortal-Software.com/


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >slipping NSViews as a NSSplit view under existing window contents. (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Re: Drawer width problem
  • Next by Date: Re: Drawer width problem
  • Previous by thread: Re: slipping NSViews as a NSSplit view under existing window contents.
  • Next by thread: Re: slipping NSViews as a NSSplit view under existing window contents.
  • Index(es):
    • Date
    • Thread