SwiftUI - DatePicker Tutorial

preview_player
Показать описание
In today's video I show you how to use the new date picker in SwiftUI and iOS 14. I discuss how to use basic date ranges, display components and styles.

SwiftUI DatePicker Documentation:

If you like my teaching or presentation style, I've started creating my own courses:

Twitter:

Link to my book - How I Became an iOS Developer:

Check out my podcast, iOS Dev Discussions:

Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Ray Wenderlich Books:

Ray Wenderlich Videos:

Paul Hudson's Hacking With Swift:

Learn Advanced Swift Here:

Links to my iOS Dev Setup & iOS Dev Book Recommendations

#swift #softwaredeveloper #iosdeveloper
Рекомендации по теме
Комментарии
Автор

If you enjoy my teaching/presentation style, I've started creating my own iOS development courses at seanallen.teachable.com. You can watch the first ~10% of each course for free to get a feel for them.

seanallen
Автор

Sean! This is my first time coming across your channel. Today, I've watched about 5 different videos on Swift. Yours? Best one by far!

I'm a beginner. Your cadence is perfect. You don't have any filler words. You seem warm and friendly. I didn't feel stupid watching your lesson. And you don't try to speed through like so many coders do. Oh—and you were so thorough about the whole thing! Really, really dig your teaching style man!

PS: I skipped back just to grab the link to your teaching site. (I *never* do that for other vids.)

manwithllama
Автор

I would like to see tutorial how to create iOS 14 widgets for existing uikit projects

donathmm
Автор

Thank you Sean! Just what I was looking for 🤯

raulgutierrez
Автор

Long overdue from Apple to ship some calendar component. I wish that it’s less buggy and does not throw bunch of broken constraint warnings in Xcode console ;)

bartoszdolewski
Автор

Wow. So much easier than Objective-C. Great job.

WestCoastAce
Автор

Simple tutorial, yet it has powerful details. Thanks .
I am so hoping you make Combine tutorial about URLSessions, and diff usages

tariqAlmazyad
Автор

Great video Sean. I wonder if the date picker has an option to return nil? I would like to use it in case my model date is optional, for example I don’t know a birthday or an appointment date etc.

aleksandertesenkov
Автор

I love the new date picker for SwiftUI, was about time to improve this feature that Android has long time ago.

israelmanzo
Автор

Great job Sean... I love the way you explain things.. Can you just select a month only ?? Cheers... Craig

ktmman
Автор

This is plain awesome! 🤩 Thank you Sean!

rungxanh
Автор

Can we only pick the months and years?

abdulghani
Автор

OK How would we isolate the month part of the date in SwiftUI

gabrielrml
Автор

hello! Thank you for your lessons
I have a question, how can i close datePicker after i tap and pick a date.?

ВадимВоронков-ды
Автор

Thanks good info, good style in putting it across well explained, just thought today need a date on my app just wondering if it will update daily or is that something else I need to look for,

darrenferguson
Автор

I don't like that there is no Done button once the date picker is expanded. Users just don't understand that they need to tap outside on the screen. Do you know a solution for this?

fassko
Автор

what if I want my date picker to popup

JHEVR
Автор

Hi Sean, just bump into your couple videos. I'm interested in taking your course, but before that I have couple questions. How can I reach you?

farizmaulana
Автор

how can I use this as a new page on my existing project ?

muratbekgi
Автор

Hi Sean I love your content I hope you reply to my query . Recently I booked a movie ticket on my iPhone on a website . After I booked, it showed up in my iPhone calendar. I want to implement this on an app I am building. Any ideas what to learn . I have previously seen this while I was setting up a .ics file. Still clueless, really hoping for your reply. Regards

DeconstructedLearningOfficial