Тёмный

How To Use Text Fields in SwiftUI (2024) 

CodeWithChris
Подписаться 592 тыс.
Просмотров 6 тыс.
50% 1

Learn how to use a SwiftUI TextField to capture user input. This tutorial contains sample code and common use cases for text fields.
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
In this SwiftUI TextField tutorial, we’ll cover:
00:00 Intro
00:12 A basic usage example
03:10 Responding to text field events such as on submit
03:56 Handling focus states on a single text field
05:41 Handling focus states on a multiple text fields
Download sample code for all SwiftUI components here:
cwc.to/swiftui-kit
Article version of this tutorial:
codewithchris.com/swiftui/swi...
For tutorials of other SwiftUI components, check out our playlist here:
• SwiftUI Components

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@CodeWithChris
@CodeWithChris Месяц назад
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
@Free_Time424
@Free_Time424 4 месяца назад
Thank you! You have a natural teaching talent. Thank you again.
@PhG1961
@PhG1961 3 месяца назад
Amazing, great video! Useful, comprehensive and entertaining too. As usual!
@CodeWithChris
@CodeWithChris 3 месяца назад
Glad you enjoyed it! Thanks for learning with us! - Iñaki
@danielcrompton7818
@danielcrompton7818 4 месяца назад
Hey Chris, thanks so much for the explanation on bindings!!
@CodeWithChris
@CodeWithChris 4 месяца назад
Glad it was helpful! Thanks for watching! - Iñaki
@tarindau
@tarindau 2 месяца назад
As always..... BRILLIANT. Thank you 🙏
@CodeWithChris
@CodeWithChris Месяц назад
Glad it was helpful! Thanks for watching! - Iñaki
@RobertSantini
@RobertSantini 4 месяца назад
Awesome Chris.
@CodeWithChris
@CodeWithChris 4 месяца назад
Glad it was helpful! Thanks for watching! - Iñaki
@CliveZm
@CliveZm 4 месяца назад
Wow I wanna Learn More ❤
@user-jz8op2dc4e
@user-jz8op2dc4e 3 месяца назад
Why can you input content in the canvas preview? How do I set it up?
@user-zu6il8md2o
@user-zu6il8md2o 3 месяца назад
what about changing the size of the textfield
@mohamethseck
@mohamethseck 4 месяца назад
Do you have any plans for videos on animations?
@danielcrompton7818
@danielcrompton7818 4 месяца назад
Yesss much needed!!
@amanterobot
@amanterobot 4 месяца назад
Hi there. Any of you guys got the paid course by Chris? I'm really interested in but I'm scared of not being enough good to understand how to do things. I'm learning few things, basic classic apps like card games (the one by Chris is soo good and easy to understand), a xylophone etc... in swift but also in Flutter. There are things I saw on RU-vid, tutorials, where to do the same things in swift/swiftUI the code was to me soooo complicated while in Flutter I could get the point with less pain. Really want to understand how things work in swift but is it just me or ios native is harder than Flutter?
@iLoveAppl3947
@iLoveAppl3947 3 месяца назад
yeah i started with his courses as well and then moved along once i understood the basics. He was the only one i was able to understand how SwiftUI fundamentals works and this is because he is speaking slow and explain everything unlike the other youtubers who goes very fast and skip vital explanations just to save time
@amanterobot
@amanterobot 3 месяца назад
@@iLoveAppl3947 thanks for your kind reply. Appreciate it 🙏🏻 ciao! 👋🏻 🇮🇹
@RahulGupta-cz7of
@RahulGupta-cz7of 3 месяца назад
There is no option to download the Kit on the website
@codelaby
@codelaby 3 месяца назад
Hmm, try keyboard in window, my test seems to leak, loses focus, hides keyboard and opens when new field appears in next, breaking continuity
Далее