One Time Code Text Field | Swift 5, Xcode 10

  Рет қаралды 20,083

Kilo Loco

Kilo Loco

Күн бұрын

Пікірлер: 57
@ronaldpenasollet4184
@ronaldpenasollet4184 2 жыл бұрын
This saved my day, I needed this functionality for my day presentation and in just an hour I got it because of this tutorial. Amazing my man
@stevenstone307
@stevenstone307 3 жыл бұрын
This was the best tutorial I have seen for Swift. Thank you so much, I watched the whole thing and followed along throughout, now I'm going code it. Thank you!
@alighani6091
@alighani6091 5 жыл бұрын
Great tutorial, I was looking to create one for my project. Thanks Kilo Loco
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Awesome! Glad I could help
@thomasswatland
@thomasswatland 5 жыл бұрын
Loving these no framework approaches!
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Loving your super support in the live streams. But yes that’s the way I prefer to teach, with native solutions if possible
@thomasswatland
@thomasswatland 5 жыл бұрын
@@Kilo_Loco Channels like these helped me get a job as an iOS-dev so support them I shall!
@daitq2310
@daitq2310 4 жыл бұрын
Great tutorial. I don't need other libraries anymore. Thank you so much!
@franciscorosso3861
@franciscorosso3861 4 жыл бұрын
This is an amazing tutorial! Thank you so much for sharing this content!
@RustamMamedovv
@RustamMamedovv 2 жыл бұрын
Thank you. Exactly what I was looking for
@manan6166
@manan6166 5 жыл бұрын
Great loco I like your swift tutorials, hope will uploads more beginners swift videos :)
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Not going to be uploading beginner tutorials here but I have an entire course as part of the membership kiloloco.com/courses
@HarpreetSingh-er3pb
@HarpreetSingh-er3pb 4 жыл бұрын
Very nice Tutorial. Very well explained!
@narenkumar4321
@narenkumar4321 3 жыл бұрын
This is very usefull video for me , thankyou Kyle ✌🏻
@nizz4m
@nizz4m 5 жыл бұрын
Good example and very well explained !
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Thanks! Glad I could explain everything clearly
@mehankjain6201
@mehankjain6201 3 жыл бұрын
Can you show how this can be done in swiftui
@mdshadman4222
@mdshadman4222 5 жыл бұрын
Nice one. I really want to understand how I can create one for my own. Thanks.
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
I’m glad that you found this tutorial useful ☺️
@briefinsight8758
@briefinsight8758 3 жыл бұрын
really really beautiful thank you so much
@nsmusic2695
@nsmusic2695 3 жыл бұрын
Amazing Tutorial, Really great content !!!!!!!!!!!!!!!!!!!!!!!!!
@hany6075
@hany6075 3 жыл бұрын
if need start from left to right in all language how make this , i was try aligment but not working
@smile03ification
@smile03ification 2 жыл бұрын
Is there a SwiftUI version of this coming anytime soon?
@gouravpatil7949
@gouravpatil7949 3 жыл бұрын
Hi sir the video is great it helped me but i am not able to customize the label like the corner Radius and isSecureTextEntry to numbers entered.Reply pls
@m7amedNahhas
@m7amedNahhas 4 жыл бұрын
thanks, kilo but i have one more thing i didn't know how to do it its to add a sublayer under each slot
@eduardoparada2745
@eduardoparada2745 4 жыл бұрын
Hello, Is it possible to fill in the textfield without having to press the keyboard suggestion?
@smael1989
@smael1989 3 жыл бұрын
Thanks a lot man!
@manivelgopi.
@manivelgopi. 5 жыл бұрын
You are awesome plz keep going..
@2mmahender
@2mmahender 4 жыл бұрын
how can I remove the text from label and textfield when the otp is incorrect?
@shadykahaleh9377
@shadykahaleh9377 3 жыл бұрын
you can do the following : remove the private from textDidChange() otpTxt.text = "" otpTxt.textDidChange()
@ไอก้านยาว-ณ7ฏ
@ไอก้านยาว-ณ7ฏ 4 жыл бұрын
Thanks for this video.
@bl7055
@bl7055 3 жыл бұрын
Hey Kilo, how is there a way to add a nice little underline for each label? I've been trying to create a subview of height 1 to add to the label, but I can't figure out the height/width of each label to properly position it. Thank you for this guide!
@Slodin
@Slodin 2 жыл бұрын
even tho your question is 9 months ago, I'll answer it for anyone that needs it. when creating the labels in the loop, make a UIView with the frame of CGRect(x: 0.0, y: self.frame.height - {thickness}, width: self.frame.width/{number of slots} - {spacing}, height: {thickness}). Replace the {} with variables that you use. Then add a background color and then addSubview. It's a little hacky and not great oppose to just using the label height/width, but I will explain why it doesn't work that way. UNLESS if someone knows any lifecycle methods that can help with this (You can expose the label array to do this in a view controller viewdidload method, BUT I wanted it to be contained in this one file only). Reason why you couldn't find the height/width of each label is because in this custom textfield class, these labels are still all at 0 when we are initializing. SO if you inspect them, they are all 0.0 for height and width. But because we are using the textfield as the parent anyway we can just use the height and width provided by the textfield. All you got to do is calculate the width so you can assign that to each of the underline UIViews to make it appear to have a underline. Hope that helps, happy coding.
@mayur.bendale
@mayur.bendale 5 жыл бұрын
Awesome 👍
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Thanks 😃
@khalidmoin9033
@khalidmoin9033 4 жыл бұрын
how to toggle between normal text to secure text Sir
@mohdmoizuddin4705
@mohdmoizuddin4705 4 жыл бұрын
Tutorial is good but it could be even better if you use high contrast dark or presentation dark or light
@michaeldugah3162
@michaeldugah3162 4 жыл бұрын
Amazing. Thanks a lot (y)
@ANILKUMAR-vv1fz
@ANILKUMAR-vv1fz 4 жыл бұрын
Awesome video
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Glad you enjoyed it
@rockdazyful
@rockdazyful 5 жыл бұрын
Hi kilo, there is no project file available on above link.
@pratikgajbhiye5354
@pratikgajbhiye5354 4 жыл бұрын
I request you to do it with email otp varification, or any suggestions how to validate user, please let me,it's urgent
@JunaidKhan-ny8tu
@JunaidKhan-ny8tu 5 жыл бұрын
Loved it :-)
@abdouett3676
@abdouett3676 5 жыл бұрын
Nice work Kilo Loco! Please if you can make a tuto about caching API asynchronous response. Thanks!
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Not entirely sure about what you mean by caching in this sense
@abdouett3676
@abdouett3676 5 жыл бұрын
@@Kilo_Loco The use of APIs limits us to a certain number of requests. Caching these queries allows us to not reach the imposed limit.
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Ohh! Yea I’m going to be creating a course on this topic. It’s a big topic and there’s a lot of detail that needs to be taken into account
@abdouett3676
@abdouett3676 5 жыл бұрын
@@Kilo_Loco Thanks man!
@willasaskara
@willasaskara 4 жыл бұрын
thanks
@GSK-Tech
@GSK-Tech 3 жыл бұрын
thank u
@donathmm3881
@donathmm3881 5 жыл бұрын
So awesome
@Kilo_Loco
@Kilo_Loco 5 жыл бұрын
Haha thanks Donat
@willasaskara
@willasaskara 4 жыл бұрын
ma boyy
@mrrice4036
@mrrice4036 5 жыл бұрын
It's doesn't work for me. please help. :(
@JOyo246642
@JOyo246642 4 жыл бұрын
you might want to give more details
@donathmm3881
@donathmm3881 5 жыл бұрын
Where is kilo loco? 😂
Sign In With Apple [UIKit] | Swift 5, Xcode 11
22:35
Kilo Loco
Рет қаралды 25 М.
TextField for code verify/Поле для ввода кода доступа
34:43
Сергей Горбачёв / cmd+B, cmd+R
Рет қаралды 1,2 М.
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
Custom Alerts | Swift 4, Xcode 10
24:41
Kilo Loco
Рет қаралды 20 М.
Use Closures Not Delegates | Swift 5, Xcode 10
14:52
Kilo Loco
Рет қаралды 24 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Start Using Lazy | Swift 5, Xcode 10
14:00
Kilo Loco
Рет қаралды 12 М.
Diffable Data Source | Swift 5, Xcode 11
18:39
Kilo Loco
Рет қаралды 13 М.
NSURLProtocol: How I Stole an App For My Wedding
56:25
Bryce Bostwick
Рет қаралды 50 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 720 М.
Weak and Unowned Self Closure Memory Leak Fixes
12:21
Lets Build That App
Рет қаралды 56 М.