Skip to content

Commit

Permalink
Reduce code duplication in GSThemeDrawing table/outline view drawing …
Browse files Browse the repository at this point in the history
…methods (#262)

* Reduce code duplication in drawViewCell:... method

* Further reduce code duplication, add common private method for calculating starting and ending column

* Use the tableView in the method that calculates the starting and ending rows

* Add code to properly handle prototypeViews, the XIB is NOT split, I was confused

* Call awakeFromNib on view as well

* Refactor so that the outlineColumn drawing code is shared

* Adjust the image drawing and the clickable area to be more aligned also make it easier to expand or collapse an item in the outline view
  • Loading branch information
gcasa authored Apr 26, 2024
1 parent c43bbb8 commit 82dce67
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 223 deletions.
Loading

0 comments on commit 82dce67

Please sign in to comment.