4 ms·
Thanks for the feedback. I will update the post. Yes, collection should keep track of the subviews. Not the view that initializes the collection
by prateekdayal 15y ago
Thanks for the feedback. I will update the post.
Yes, collection should keep track of the subviews. Not the view that initializes the collection
- rgarcia 15y agoindexOfTicket and prevTicket are unused in your collection's addOne() function. </nitpick>
- prateekdayal 15y agoSorry about that. Actually they are used in the real code but I removed a lot of other stuff when I copied over. I should have deleted more carefully
- prateekdayal 15y agoActually I goofed up while typing out the post a bit. Views that contain subviews should keep a track of the sub-views. Not collections. I have updated the post. Sorry for the confusion