Reputation: 3956
I want to add about 300 grids to a UIView,It is OK if I use 300 UILabels? Or,besides UILabel,any better way to deal with it?
Upvotes: 0
Views: 101
Reputation: 2584
If you create a UITableView with reusable cells, only the visible cells will be populated at any one time, so only those UILabels (assuming one or more per cell) will actually exist at any one time. Not a problem.
Upvotes: 0
Reputation: 2253
Grid means what you can make a UITableView with 300 rows and you can make any number of labels in your UIView
Upvotes: 1