rajdeep / proton

Purely native and extensible rich text editor for iOS and macOS Catalyst apps
Other
1.27k stars 81 forks source link

TableView in ExampleApp #312

Open easiwriter opened 3 months ago

easiwriter commented 3 months ago

Suddenly the ExampleApp won't build because it can't find TableView. Where is it because I can't find it.

rajdeep commented 3 months ago

TableView class is located here: https://github.com/rajdeep/proton/blob/main/Proton/Sources/Swift/Table/TableView.swift

Please note that this is a new implementation of the existing GridView class located here: https://github.com/rajdeep/proton/blob/main/Proton/Sources/Swift/Grid/View/GridView.swift

The difference is that TableView is virtualized where as GridView is not.

Example app uses TableViewCommand to create the Table/Grid. It is still being worked on so if you need to look at previous version, you may look at the history of this file and use a previous version to see how GridView was used.