Time Interval Picker for early SwiftUI

3 years ago by Bloody Harry to c/bad_ui_battles

Interestingly enough, I found it to be surprisingly complicated to implement a time interval picker with Apple's at the time provided UI elements. Originally, I planned on modifying their Datepicker (the one with the satisfying drums), but it wouldn't work. So I made this, which is good enough (fast, intuitive, precise) for a personal project.

I classify it as bad UI, though, because there's a whole bunch of better approaches to this problem.

harry315 2 points 3 years ago path: 0 7882538, hotness: undefined, score: 2, children: 0
bad_ui_battles
bad_ui_battles

@programming.dev

login for more options
1229
18
2

E̖̰͚̠̟̗ͨͫ̚͠͡r̶̢͕̠̹̙̞̯̠̄̏̐̈́ͦͫ͛̿ͨr̴̞̪̦̖̊̄̈́̐o̘͛͐͒ͬ́͜ŗ̶̲̥̣̟̠̭̫̯ͪ̏͒̀ ̷̜̻̝ͦ̀̾̏͢͞ļ͈̺̟̹͔̔̄̊̓͐͟o̶̷̶͕͎̲̙͆͐́̓̃a̛͇̼ͥ͂ͬ͐ͦ͒̽͜ḑ̔͂̊͛͗̓͏̞̤̮̦i̴̞̬͍͔̖̝͓͆ͣ͢ņ̵̮̄́ǧ͎̈̂̓̍̇̽̇̕͡ ̧̗̻̙̣̤̖͑ͬ̓̊ͪ̋ͭs̵̥̯͇͔̦̞̖̘̓͒̆͑͘͟ì҉̛̼̖̭d̷̝͓̟̗̽ͦe̶̸̼̻̲̘ͩ͌́́ͬ͡ͅb̡͓̗̫̫̔̑ͥͤͫ̏̇̿͜a̴̶̾̓͛͏̻̲̠̤͍ȓ̡̟̲̼̱͓̀̐̈ͥͣ͜͞

For intentionally bad and silly user interfaces.

Discord

What do I submit?

  • A video, gif, or link of your UI in action

Can I share the UI/source code in the comments?

  • Yes, please do. It's fun to play with your projects.
  • Please leave the source code as a git service (or similar service) link

RULES

  • Be kind. We're here to have fun

  • No racism, sexism, or other kind of discrimination will be tolerated.

  • All posts must be a video/gif submission for an intentionally bad UI design or a request for an intentionally bad UI

Icon base by Skoll under CC BY 3.0 with modifications to add a gradient

go to feed...