Following on from yesterday’s post about separation on concerns and where to put some undefined logic for a multi state checkbox, I did a fair amount of research.
After a while a brainwave struck me: “Gmail lets you select things, how does it do it? One click on the Gmail icon and I’m presented with this:
Perfect. So I went back to my sponsor and showed them a mock-up with this style of selection. The reaction was: “Oh I like that”. Excellent news, for me its easier code to write (I’m happy with a for loop setting a grid cell to true in the view) and if they want to add other selections its easy enough (though there is not much else they could select by…).
The moral of the story? If in doubt, copy Google.