> On 9 May 2016, at 08:59, Graham Cox <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to