-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for NSTableView
sections (aka group rows)
#93
Comments
This was referenced Jan 20, 2020
@helje5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Description
The NSTableView extension doesn't apply section changes and indices assume a single section.
Motivation and Context
Like the UITableView, NSTableView supports sections (called "group rows" in AppKit). It would be great if they would just work in combination w/ ArraySection's.
Proposed Solution
In NSTableView the sections (group rows) are part of the collection feed to the tableview. E.g.
Is presented to NSTableView as:
It's not obvious that this isn't supported. Maybe AppKitExtension.swift should have
in the
reload
.Not quite sure about the best way to implement this. The
reload
should have all the grouping information necessary. Essentially there would need to be a separate step adjusting the indices to the flat ones, while applying the changes.Sample TV datasource/delegate on top of
ArraySection
The text was updated successfully, but these errors were encountered: