iOS-classic icon indicating copy to clipboard operation
iOS-classic copied to clipboard

Use checkboxes instead of switches for tag selection

Open moughxyz opened this issue 8 years ago • 1 comments

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.

img_0608

moughxyz avatar May 08 '17 14:05 moughxyz

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)

flowinho avatar May 08 '17 15:05 flowinho