У нас вы можете посмотреть бесплатно Working with DateInterval in Swift - Programming Live или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this live coding session we're going to work with the DateInterval Swift struct. We're going to refactor CalendarKit to use the DateInterval API instead of a more generic ClosedRange structure. DateInterval represents the span of time between a specific start date and end date, which is perfect for our use-case. I'll show how to quickly refactor a UI component library as well as demonstrate some of the GitHub automation I'm using to deploy a new version to CocoaPods. CalendarKit https://github.com/richardtop/Calenda... CalendarApp https://github.com/richardtop/Calenda... Xcode Themes https://github.com/richardtop/XcodeTheme Git client I use (GitUp): Overview: • GitUp: the Best Git Client for Mac Download https://github.com/git-up/GitUp/ DateInterval API https://developer.apple.com/documenta... ClosedRange: https://developer.apple.com/documenta... EKEvent https://developer.apple.com/documenta... swift-corelibs-foundation https://github.com/apple/swift-coreli... Subscribe and ring the bell to not miss next tutorials and iOS-related content. Have a suggestion? Leave it in the comments. Follow Richard on social media: Telegram: https://t.me/richardtop GitHub: https://github.com/richardtop/ Timecodes: 0:00 - Intro 0:43 - Task overview 3:18 - Updating packages 6:45 - Local Package Workflow in Swift Package Manager 9:05 - API, DateInterval 12:10 - Refactoring CalendarKit 16:33 - Difference between ClosedRange:Date and DateInterval 19:30 - Refactoring complex code 22:40 - Refactoring demo app 26:54 - Testing & committing changes 30:05 - Removing ClosedRange:Date 33:10 - How to code date operations, Apple Corelibs Foundation library 35:15 - Layout code 40:00 - Testing & committing changes 44:10 - Updating documentation 47:00 - Releasing a new version, automation 50:40 - Updating CalendarApp to work with the new version 58:04 - Conclusion, contributing to CalendarKit