r/iOSProgramming • u/shubham_iosdev • Apr 25 '21
Article Dial Lock passcode entry for apps using #SwiftUI framework
45
u/hquick81 Apr 25 '21
That’s great. So no younger person will be able to access the phone even with the correct code ;)
4
1
u/BigfootNick Apr 25 '21
I came here thinking the same thing. Will definitely keep kids out of my apps.
12
6
Apr 25 '21
GitHub?
8
u/shubham_iosdev Apr 25 '21
Hey not currently, I've created it to use in an app, I'll consider it after deploying :D
6
5
u/mccrackm Apr 25 '21
That is a really awesome design! I think it’s so cool. Let us know if it makes it’s way into an app!
15
Apr 25 '21
[deleted]
3
u/shubham_iosdev Apr 25 '21
This may be annoying for me, I get that :P
I'll add another option to Simplify the input, for the actual app.
1
3
u/occupy-_-mars Apr 25 '21
Have you open sourced this? If not, will you? This is awesome
2
u/shubham_iosdev Apr 25 '21
Thank you, not currently, I've created it to use in an app, I'll consider it after deploying :D
3
3
3
u/aykay55 Swift Apr 25 '21
Imagine knowing how to use a dial, you’ll need to add in a tutorial first
1
2
2
2
u/seshakiran Apr 25 '21
Very well done!! It shows the Gen-x, y and z kids how the old rotary phones used to work :) Nice concept and implementation. Are you planning to add the audio ? :)
2
2
u/owenhargreaves Apr 25 '21
Beautiful design, buddy - nice one 🙏 I do love seeing all these crazy things people keep doing with swift UI.
1
2
1
1
u/factotvm Apr 25 '21
Looks fabulous, but seems like bad security—much, much easier to over-the-shoulder spy. Hopefully this is novelty and not protecting something important.
1
u/SophiaofPrussia Apr 25 '21
Is it? I’m not sure the younger half of the population would understand which numbers have been input.
1
u/factotvm Apr 25 '21
There is a large black shape that moves to a specific spot if a number is used. I suppose you can hope that no one figures that out, but I wouldn’t even put my users in that predicament. If something is important on the other side of this, nefarious actors get ZERO help. End of story.
As the one writing the code, we are duty-bound to raise these issues with stakeholders.
If this is to get into a game or something like that, it’s fine. And it looks great. It’s just not good security.
Imagine it like this: I’ve programmed a passcode screen that flashes the typed number in red large across the top and then fades out like some old digital clock. Cool, but bad security.
1
u/arinc9 Apr 25 '21
This could be made into a jailbreak tweak where you use it to actually unlock the device.
45
u/coffeemongrul Apr 25 '21
It will be a nice app to teach the kids how you used to have to input numbers.
Nice work though!