You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a straightforward way to add sibling views to table_view in TableScreen and GroupedTableView?
I'm looking specifically at 2 use cases:
(A) when the table_view and a sibling view don't overlap, say table_view at the top half of the screen and the sibling view at the bottom half
(B) when the sibling view overlays/overlaps the table_view.
I created a variation of the classes — TableViewController2, TableScreen2 and GroupedTableScreen2 to inherit from a UIViewController and adding the table_view as a subview so sibling views can be added to the resulting TableScreen2 (to work with use cases A and B). It looks like this modification can be made directly to the original 3 classes and still remain compatible.
If there's no way to do this currently with ProMotion, and there isn't a fundamental issue with this, I can create a PR for this.
I haven't thought of specific ways to test this other than the existing spec. If anyone has any idea, feel free to pitch in :)
The text was updated successfully, but these errors were encountered:
Ah, that's nice. The proposed change doesn't retrofit UITableViewController. It subclasses UIViewController instead. But no worries, I'll just keep them as a custom class outside ProMotion then.
Is there a straightforward way to add sibling views to table_view in TableScreen and GroupedTableView?
I'm looking specifically at 2 use cases:
I created a variation of the classes — TableViewController2, TableScreen2 and GroupedTableScreen2 to inherit from a UIViewController and adding the table_view as a subview so sibling views can be added to the resulting TableScreen2 (to work with use cases A and B). It looks like this modification can be made directly to the original 3 classes and still remain compatible.
If there's no way to do this currently with ProMotion, and there isn't a fundamental issue with this, I can create a PR for this.
I haven't thought of specific ways to test this other than the existing spec. If anyone has any idea, feel free to pitch in :)
The text was updated successfully, but these errors were encountered: