|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/ios-14-widgetkit-in-swiftui-xcode-12-beta/
课程评论:没有评论
**课程名称:** iOS 14 WidgetKit in SwiftUI: Xcode 12 **课程概述:** 本课程旨在教授您如何利用 Apple 在 WWDC 20 推出的 WidgetKit 框架,在 SwiftUI 中构建强大的 iOS 小组件。通过实际动手操作,您将学会如何为您的应用程序创建信息丰富且引人入胜的主屏幕小组件,让用户更加便捷地获取关键信息。 **您将学到的知识:** * **WidgetKit 基础:** 深入理解 WidgetKit 的核心概念和功能,了解如何将应用程序的有用信息直接呈现在用户的主屏幕上。 * **多尺寸小组件开发:** 掌握如何设计和构建不同尺寸(小、中、大)的小组件,以适应各种用户偏好和场景。 * **构建可配置小组件:** 学习如何创建允许用户自定义设置的小组件,例如在天气应用小组件中选择城市。 * **实时数据与 API 集成:** 通过构建一个真实的天气应用小组件,学会如何从 API 下载天气信息并将其动态展示在小组件中。 * **Timelines 与动态内容:** 理解 Timelines 的概念,并学习如何调度小组件更新,确保用户始终能看到最新、最相关的动态内容。 * **Smart Stacks 的应用:** 了解 Smart Stacks 的工作原理,以及如何利用设备智能技术(如时间、地点、活动)在正确的时间展示正确的小组件。 * **跨平台兼容性:** 学习如何使用 WidgetKit 和 SwiftUI API,轻松构建可在 iOS、iPadOS 和 macOS 上运行的小组件。 **学习方式:** 本课程采用“边学边做”的学习模式,通过构建各种实际小组件来巩固知识点,包括一个功能完善的天气应用小组件。 **目标受众:** 希望利用 WidgetKit 增强其 iOS 应用程序功能的开发者。
WWDC 20 introduced new and cool extension to your apps in form of WidgetKit. With app widget you can provide useful information about your app directly to your user's home screen. With this course you will learn all about widgets and what they have to offer. We will build various widgets in this course so we can learn by doing.Join us in this journey and learn all about widget kit. You will learn simple widgets to configurable widgets. You will build real weather app widget which will download weather information from API and display that in small, medium and large size widgets.You will also work with Timelines and how to schedule widget updates to display dynamic content on app widgets.According to Apple widgetkit is:Easily build widgets and make them available across iOS, iPadOS, and macOS using the WidgetKit framework and the new widget API for SwiftUI. Widgets now come in multiple sizes, and users can visit the new widget gallery to search, preview sizes, and place them anywhere on the Home screen to access important details at a glance. They can also add Smart Stacks - sets of widgets that use on-device intelligence to surface the right widget at the right moment, based on factors like time, location, and activity.