• 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: Responsive scrolling control with lots of subviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Responsive scrolling control with lots of subviews


  • Subject: Re: Responsive scrolling control with lots of subviews
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 04 Mar 2015 08:11:01 -0800

> On Mar 2, 2015, at 10:26 AM, Ben <email@hidden> wrote:
>
>
>> On 2 Mar 2015, at 17:42, Quincey Morris <email@hidden> wrote:
>>
>> On Mar 2, 2015, at 02:44 , Ben <email@hidden <mailto:email@hidden>> wrote:
>>>
>>> Since NSCell is apparently on the way out, I've been trying to build a new control I need using views. It's a cut-down spreadsheet-alike grid
>>
>> I don’t see that anyone has yet asked the question of why the grid needs to have subviews. Implementing the rows and columns yourself means inventing your own duplicate API for managing them, but it’s likely not a lot of code, assuming you only need textual editing of one cell at a time (and can therefore use a single re-usable, movable text field for the editing).
>>
>> So, why can’t your spreadsheet-like grid be a single custom view that draws its own text and graphics in a grid-like pattern directly?
>>
>>> PS. I have tried using/subclassing NSTableView and have filed a bug for the functionality that I'm after
>>
>> Purely for interest’s sake, can you tell us what functionality is missing, for your use-case?
>>
>
>
> I hadn't considered asking my delegate for text and images directly. That could be a simpler way to do things - I will look into it.
>
>
> The functionality that I'm missing is:
>
> - Granularity of selection. For example single or multiple disconnected cells. NSTableView only gives me row or column.
> - Scrollable floating headers on both axis. This I did sort-of manage with NSTableView by styling the first column to look like a header, but it was not great.

Did you indeed log bugs for these requests? I haven’t seen any come in for them. Please give me the radar #’s.

thanks!

corbin


_______________________________________________

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: 
 >Responsive scrolling control with lots of subviews (From: Ben <email@hidden>)
 >Re: Responsive scrolling control with lots of subviews (From: Quincey Morris <email@hidden>)
 >Re: Responsive scrolling control with lots of subviews (From: Ben <email@hidden>)

  • Prev by Date: Re: Mac OS X - Inter-Application Communications
  • Next by Date: Re: titlebar accessory? window:willPositionSheet:usingRect: not called in full-screen mode
  • Previous by thread: Re: Responsive scrolling control with lots of subviews
  • Next by thread: Re: NSTextView Copy-and-Paste Problem
  • Index(es):
    • Date
    • Thread