Re: discontiguous bounds ?
Re: discontiguous bounds ?
- Subject: Re: discontiguous bounds ?
- From: Jonathan Mitchell <email@hidden>
- Date: Mon, 09 May 2016 15:57:28 +0100
> On 9 May 2016, at 08:59, Graham Cox <email@hidden> wrote:
>
> I’ve done this, based on that code. Yes, it was a bit buggy, but I got it to work. The app it’s a part of still works when compiled with the latest tools and SDK. But yes, you need two separate table views to do this.
>
I have done something similar - using a separate table view to create a non scrolling total row at the bottom of a table view.
NSStackView makes a suitable container for sticking this sort of thing together.
In this case I can bind the table column widths together.
I load the table view form a nib but put the view hierarchy together in code.
In particular I clone the initial NSTableView using NSKeyedArchiver/NSKeyedUnarchiver so that I don’t have to try and maintain two duplicate NSTableViews in the nib.
J
_______________________________________________
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