• 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 Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView Question


  • Subject: Re: NSSplitView Question
  • From: Graham Cox <email@hidden>
  • Date: Mon, 4 Aug 2008 15:41:59 +1000

This is not any thing to do with NSSplitView as such. You're asking "how to implement a master-detail interface". Try doing searching on those terms, phrase or a variation of it, I'm sure it's been well- covered.

The essentials are - detect the selection change in the master view, use it to update the contents of the detail view. Beyond that it's hard to give much concrete advice as there are about four million ways to implement this. You do have to do it yourself however.

hth,

Graham


On 4 Aug 2008, at 3:35 pm, Eric Lee wrote:

Sorry, I accidently did something wrong on that message. Here's the one I'm actually asking...


How do you make a NSSplitView so that when you click something on one side, the other side is updated. For example, take the mail application. When you click trash, the other side is updated to display the trash content, and when you press Inbox, the other side displays the inbox.


How do you do this?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: NSSplitView Question
      • From: Iain Houston <email@hidden>
References: 
 >NSSplitView Question (From: Eric Lee <email@hidden>)

  • Prev by Date: NSSplitView Question
  • Next by Date: Re: Restarting an app -- AppleScript 'launch' in a detached shell
  • Previous by thread: NSSplitView Question
  • Next by thread: Re: NSSplitView Question
  • Index(es):
    • Date
    • Thread