Complete WatchOS Tasks App in SwiftUI and CoreData

所在平台: Udemy

课程主页: https://www.udemy.com/course/complete-watchos-tasks-app-in-swiftui-and-coredata/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用 SwiftUI 和 CoreData 完成 WatchOS 任务应用 **课程概述:** 这门课程将带你进入 watchOS 应用开发的新时代,充分利用 SwiftUI 的强大能力。SwiftUI 简化了跨平台(iOS, iPadOS, macOS, tvOS)的 UI 开发,而 watchOS 凭借其独特的硬件和屏幕规格,也能无缝集成 SwiftUI。本课程将通过从零开始构建一个 Apple Watch 上的“提醒事项”应用克隆,让你深入学习如何在 watchOS 上使用 SwiftUI 进行 UI 构建,并结合 CoreData 实现数据持久化。你将掌握 SwiftUI 在 watchOS 上的应用,并理解其与 iOS 等平台的通用性,同时学习如何适配 watchOS 的特性。 **学习目标:** * 使用 SwiftUI 构建 watchOS 应用 * 在 watchOS 中应用 CoreData * 从 CoreData 加载数据 * CoreData 的 PersistentController 初始化 * 在 SwiftUI 环境中使用 ManagedObjectContext * 使用 FetchRequest 和 FetchResults * 在 CoreData 中进行数据排序和过滤 * 在 watchOS 中实现屏幕导航 * 在 CoreData 中执行 CRUD(创建、读取、更新、删除)操作 * 使用 SwiftUI 在 watchOS 中呈现和关闭视图 * 根据上下文在不同操作之间重用视图 * 在 watchOS 中进行 SwiftUI 界面设计 * 学习 watchOS 的列表(Lists)控件 * 掌握 SwiftUI 的视图修饰符(View Modifiers) **课程内容:** 本课程将聚焦于使用 SwiftUI 和 CoreData 在 watchOS 上构建一个功能完善的任务/提醒事项应用。你将学习到 watchOS 应用开发的各个方面,包括: * **SwiftUI 基础与 watchOS 集成:** 如何将 SwiftUI 的通用概念应用于 watchOS,并理解其适配性。 * **CoreData 数据管理:** * `PersistentController` 的初始化配置。 * `ManagedObjectContext` 在 SwiftUI 环境中的使用。 * 利用 `FetchRequest` 和 `FetchResults` 查询和展示数据。 * 实现数据的排序和过滤逻辑。 * 执行数据的创建、读取、更新和删除(CRUD)操作。 * **watchOS 用户界面与交互:** * 导航视图的构建和屏幕之间的切换。 * 视图的呈现和关闭方式。 * 通过上下文实现视图的重用。 * 在 watchOS 上进行 SwiftUI 界面设计。 * 利用 `List` 控件展示数据。 * 应用各种 `View Modifiers` 来增强界面效果。 通过这个实践项目,你将全面掌握在 watchOS 上利用 SwiftUI 和 CoreData 构建复杂应用的关键技能。

课程评论(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 start our journey of WatchOS by building a clone of Reminders app, which is present in your Apple Watch. we will learn to build watchOS app in SwiftUI. You will be recreating tasks or reminders app from scratch in this course using SwiftUI and CoreData and while building this app you will also learn about WatchOS.Learning Objectives * Building WatchOS App using SwiftUI * CoreData in WatchOS * Loading data from CoreData * PersistentController for CoreData Initialization * Using ManagedObjectContext with Environment * Usage of FetchRequest and FetchResults * Sorting, Filtering Data in CoreData * Navigating between Screens in WatchOS * CRUD (Create, Read, Update, Delete) Operations in CoreData * Presenting and Dismissing Screens in WatchOS using SwiftUI * Reusing Screens for Different Operations based on Context * SwiftUI Design in WatchOS * Lists in WatchOS * View Modifiers

课程标签

0人关注该课程

主题相关的课程