Created
March 3, 2021 05:25
-
-
Save DavidPiper94/143b7662cd96ee310321a50a73ef1f0f to your computer and use it in GitHub Desktop.
Example code for article about TagCloudView - Building Rows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1 | |
| private var itemViews = [TagCloudItemView]() | |
| private var rows = [NSStackView]() | |
| private var rowStackView = NSStackView() | |
| private var emptyRowStackView = NSStackView() | |
| /* Configure and style these views... */ | |
| // 2 | |
| func buildRows() { | |
| clearRows() | |
| setupRows() | |
| showRows() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment