filmov
tv
Formatted Date strings in Swift and SwiftUI

Показать описание
In this video we are going to explore Swift Dates and how you can format dates as strings for presentation in your Swift / SwiftUI projects.
We will look at the DateFormatter class and it's dateStyle and timeStyle properties.
This will be followed by using fixed format date representations using a format string.
In iOS 14 with SwiftUI we got an easier way to display dates In text views so we will explore the formatter initializer that was introduced.
If you want to support my work, you can buy me a coffee :)
Table of Contents:
0:00 Introduction
1:33 Date Formatter - DateStyle and TimeStyle
7:48 Date Formatter Fixed Format Date Representation
15:49 iOS 14 - SwiftUI Text view formatter and format options
2248 iOS 15 - SwiftUI Text View style option
Starter Project Files:
(If you are having problems downloading zip files, use Safari. Chrome restricts zip files by default)
Completed Project:
Other References:
Stewart Lynch's YouTube Channel:
Stewart Lynch on Mastodon:
Stewart Lynch on Twitter:
Stewart Lynch on LinkedIn
We will look at the DateFormatter class and it's dateStyle and timeStyle properties.
This will be followed by using fixed format date representations using a format string.
In iOS 14 with SwiftUI we got an easier way to display dates In text views so we will explore the formatter initializer that was introduced.
If you want to support my work, you can buy me a coffee :)
Table of Contents:
0:00 Introduction
1:33 Date Formatter - DateStyle and TimeStyle
7:48 Date Formatter Fixed Format Date Representation
15:49 iOS 14 - SwiftUI Text view formatter and format options
2248 iOS 15 - SwiftUI Text View style option
Starter Project Files:
(If you are having problems downloading zip files, use Safari. Chrome restricts zip files by default)
Completed Project:
Other References:
Stewart Lynch's YouTube Channel:
Stewart Lynch on Mastodon:
Stewart Lynch on Twitter:
Stewart Lynch on LinkedIn
Formatted Date strings in Swift and SwiftUI
DateFormatter - Swift
New Way to Format Dates in Swift (5.5)
Date to String - Swift Date
Formatting Dates using DateFormatter() - Swift 4
Format UTC date string using DateFormatter in Swift
Getting Current date and time with formatting in swiftUI using Swift
How to format dates inside text views – SwiftUI
Data Formatter in iOS using Swift | Human readable format | Date format | Number format
How to customise date format - Swift UI
Swift Tutorial: DateFormatter (dateStyle, Locale, am/pm, dateFormat, weekdaySymbols)
Swift Programming Logic, #14: Date Formatter
Swift Programming Logic, #35: String to Date
How to Convert String to Date in Swift: A Common Issue and Its Solution
Mastering Date Formatting in Swift for iOS 13 and Above
Breaking Down String Format Specifiers in Swift
Easy SwiftUI Tutorial: New Swift Date Formatter API
Swift Tutorial: Dates & Formatters in iOS (2020)
Swift - 33 - Formatting Dates with DateFormatter
How to Format stringDateJson into a Label in Swift
How to Implement 1st July, 2021 17:00 Date Format in Swift for iOS Development
How to Convert Server Date Strings into Human-Readable Format in Swift
UIDatePicker and Date Formatter in Swift
IOS , Swift , Tutorial - Part 1 - Date & Time Via String Formatter (TimeZone , TimeStamp)
Комментарии