• 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: discontiguous bounds ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >discontiguous bounds ? (From: Miller Dale <email@hidden>)
 >Re: discontiguous bounds ? (From: Quincey Morris <email@hidden>)
 >Re: discontiguous bounds ? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: How to keep things alive in Arc?
  • Next by Date: Re: discontiguous bounds ?
  • Previous by thread: Re: discontiguous bounds ?
  • Next by thread: Re: discontiguous bounds ?
  • Index(es):
    • Date
    • Thread