Build WatchOS Timer App in SwiftUI 4 using MVVM

所在平台: Udemy

课程主页: https://www.udemy.com/course/build-watchos-timer-app-in-swiftui-4-using-mvvm/

课程评论:没有评论

第一个写评论        关注课程

课程简介

Coursera 课程总结:使用 SwiftUI 4 和 MVVM 构建 watchOS 计时器 App 本课程探讨了如何利用 SwiftUI 4 和 MVVM 架构为 Apple Watch 开发计时器应用程序。 **课程亮点:** * **WatchOS 与 SwiftUI 整合:** 学习 SwiftUI 如何简化 watchOS 应用的开发,使其与 iOS、iPadOS、macOS 和 tvOS 的开发理念保持一致。即使硬件和屏幕尺寸不同,SwiftUI 也能适应并提供统一的开发体验。 * **计时器 App 克隆:** 课程将指导您从零开始构建一个类似 Apple Watch 内置计时器功能的应用程序。 * **核心功能实现:** * **计时器拨盘:** 创建显示秒和分钟的刻度视图。 * **Timer Publisher:** 使用 Combine 框架的 Timer Publisher 观察计时器变化。 * **反向进度视图:** 构建一个显示剩余时间的进度视图。 * **条件性颜色环:** 应用基于不同进度阶段的条件性颜色渲染。 * **高级刻度视图:** 使用基本形状创建复杂的刻度视图。 * **计时器模型:** 构建支持分钟和小时计时功能的模型。 * **响应式视图:** 利用 OnReceive Observer 监控计时器变化,并根据视图和状态的变化创建条件性视图。 **学习目标:** 1. 掌握 WatchOS 和 SwiftUI 的开发。 2. 创建美观的环形进度视图。 3. 熟练运用 Combine 框架的 Timer Publisher。 4. 学习使用基本形状构建高级刻度视图。 5. 开发支持分钟和小时的计时器模型。 6. 根据观察到的状态变化动态创建条件性视图。 7. 理解并应用 OnReceive Observer 监控计时器变化。

课程评论(0条)

课程详情

SwiftUI has changed the entire dynamics of app development in iOS space. Now developing for watchOS is as easy as dropping reusable SwiftUI views into the app and run them against the correct target. In this course, we are going to work on WatchOS and SwiftUI. With the introduction of SwiftUI, a lot of UI development have been combined and learning has become easy. For example, most of the concepts of SwiftUI that you learn and apply on iOS, iPadOS, MacOS and TVOS are same. WatchOS has different specs as far as the hardware, screensize etc goes so SwiftUI adapts to those changes and provides a look that works of WatchOS but the code you write is pretty much same as SwiftUI for iOS.We will learn about timer app that is present in your apple watch and create a clone of that using SwiftUI. We will build all the modules that will make the complete app along with the timer dial to show seconds and minutes ticker view. You will learn to observe changes in Timer using Timer publisher and create a reverse progress view which will indicate time remaining in the timer. You will learn to apply conditional based color rings to display different stages of the progress. Learning Objectives:* WatchOS and SwiftUI* Ring Progress View* Combine based Timer Publisher* Build advanced ticker view using basic shapes* Build timer model to support minute and hour based timer * Create conditional views based on observed changed into the view and state properties* Use of OnReceive Observer to monitor changes in Timer

课程标签

0人关注该课程

主题相关的课程