I have an array which loads in table view, and if users taps a certain cell it changes to UITableViewCellAccessoryCheckmark.
How can I check what object in array is checked and add all objects that are checked to another array?
I have an array which loads in table view, and if users taps a
Share
If you want a function that actually gets the checked objects at a whim, use the following:
That would allow you to get the data on demand. Note that it would be much less efficient than simply using Jasarien’s method, yet there are some situations where it is a better solution.