Re: NSSplitView Question
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