Open moughxyz opened 7 years ago
Fairly easy. Create a custom UITableViewCell and toggle the checkmark on selection.
A circle by using UIView.layer.cornerRadius = view.bounds.width / 2
(i think its a smaller value but i only have my phone right now)
Switches were used as a way to get something up faster. Checkboxes unfortunately are not offered natively in the iOS SDK. But I think now that we have a little more time we can make the experience better by changing to Mail.app like checkboxes.
UITableViewCell has accessory mode checkmark, but it doesn't have a circle behind it. Maybe we can just draw a circle.
The important thing is that we don't use any 3rd party libraries for this. Should be simple enough to implement from scratch.