MWPhotoBrowserSwift
MWPhotoBrowserSwift copied to clipboard
About Selections
Hi @tapz, Hope you are doing well. I have a question regarding multiple selections on the Photo Grid. The README file says something like this:
Selections
The photo browser can display check boxes allowing the user to select one or more of the photos. To use this feature, simply enable the displaySelectionButtons property, and implement the following delegate methods:
... - (void)photoBrowser:(MWPhotoBrowser *)photoBrowser photoAtIndex:(NSUInteger)index selectedChanged:(BOOL)selected { selections[index] = selected }
First of all, that seems to be Obj-C notation like.
And second, what is selections
variable? I don't see it in any of the other examples and specifications. How can I display the checkmark on the images? I already implemented the delegate methods needed and put the property displaySelectionButtons
in true
. So, what am I missing?
I need help on this, if anyone knows the solution, please reply. Thanks!