Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Xcode-style splitview and header view

Xcode-style splitview and header view
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2004
Status: Offline
Reply With Quote
Aug 24, 2004, 07:01 PM
 
Hello, this is a Cocoa question:

I know how to set up a basic split-view, but I was wondering if anybody knows how to set up a split-view like the one in Xcode? Basically, this has no splitter bar, but instead it has a button in one of the top corners of the view - in a header view or in a scroll view. If you click on and drag this button, it serves the same function as a split view (ie. resizes two views relative to one another).

On a related note, I was wondering how I would go about creating a "header view" for an NSTextView - something like the NSTableHeaderView. I basically want a header to a text view that displays some details (such as document name).

If anybody can just give me some pointers on where to start to achieve these things, I would be really grateful.

Many thanks,
KB
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2