• 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: Iain Houston <email@hidden>
  • Date: Mon, 04 Aug 2008 07:40:03 +0100

The TwoManyControllers sample code does what you want I think mostly generated from declarative as far as I can see

On 4 Aug 2008, at 06:41, Graham Cox wrote:

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

_______________________________________________

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


References: 
 >NSSplitView Question (From: Eric Lee <email@hidden>)
 >Re: NSSplitView Question (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Irritating Problem with NSString Method and File Paths
  • Next by Date: Re: Interface Builder, tree view like Mac Mail or itunes
  • Previous by thread: Re: NSSplitView Question
  • Next by thread: Re: NSSplitView Question
  • Index(es):
    • Date
    • Thread