Cademy logoCademy Marketplace

Course Images

Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island

Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 12 hours 51 minutes

  • All levels

Description

This video course is designed to teach you about the latest WidgetKit developments in iOS 16, and how to use them with SwiftUI. You will learn about new features such as live activities and Dynamic Island, and explore how to create dynamic widgets for your iOS applications using SwiftUI. It's a great way to enhance your skills and create high-quality widgets.

This video course provides a comprehensive overview of the latest WidgetKit developments in iOS 16, backed by the power of SwiftUI. Discover how to leverage these powerful tools to create dynamic, high-quality widgets for your iOS applications. You will learn about the latest WidgetKit features, including static, network-based, map-based, and configurable widgets. Additionally, you will explore the creation of core data-backed widgets and learn about deep linking strategies specific to widgets. This course also covers newly introduced features such as live activity and lock screen widgets and teaches you about the intricacies of ActivityKit and Live Activity lifecycles. You will discover how to add support for Dynamic Island, which is available on iPhone 14 Pro and above iOS devices. Upon completing this course, you will have the power to create stunning, high-quality widgets for your iOS applications. You will master the creation of live activity and lock screen widgets and gain a profound understanding of the WidgetKit framework. This course will enhance your knowledge and skills in WidgetKit development with SwiftUI 4 and iOS 16, giving you the confidence to develop custom widgets that will elevate the user experience of your applications. Join us today and unlock the potential of WidgetKit! All resources and code files are placed here: https://github.com/PacktPublishing/Mastering-WidgetKit-in-SwiftUI-4-iOS-16-with-Dynamic-Island

What You Will Learn

Understand the basics of WidgetKit and its architecture in SwiftUI
Explore the power of SwiftUI 4 and iOS 16 for building widgets
Create and configure static and dynamic widgets using WidgetKit in Xcode
Learn to create lock screen widgets that provide quick access to app features
Build a fully functional news widget with link configuration using WidgetKit
Learn how to use TimelineProvider to update widget content over time

Audience

This course is aimed at developers with prior experience in SwiftUI and iOS development, who are seeking to advance their skills and expertise in WidgetKit development using SwiftUI 4 and iOS 16.

Approach

This comprehensive video course takes an end-to-end approach to WidgetKit development, utilizing the latest technology in iOS 16 and SwiftUI 4. You will gain hands-on experience building more than 15 widgets that cover a wide range of functionalities, while also gaining insight into newly introduced features.

Key Features

Create 15+ high-quality widgets from scratch using SwiftUI and WidgetKit * Discover the versatility of configurable widgets and how to build them for maximum user customization * Explore the innovative Dynamic Island feature and learn how to create widgets for it

Github Repo

https://github.com/PacktPublishing/Mastering-WidgetKit-in-SwiftUI-4-iOS-16-with-Dynamic-Island

About the Author

Anoop Tomar

DevTechie LLC offers courses where we learn by doing and find practical approaches to solve common problems. DevTechie LLC has 40+ years of combined experience in developing apps and software for big tech companies to small start-ups. They believe in sharing the knowledge gained over the years and invite you to join them on this journey. DevTechie LLC covers end-to-end development for mobile, web, backend, data science, and machine learning.

Course Outline

1. Introduction

1. Introduction

This video explains the course in detail and the widgets that you will be creating in this course.


2. Getting Started

1. WidgetKit Introduction

This video explains what WidgetKit is and what WidgetKit does.

2. Adding WidgetKit Extension

This video explains how to add a WidgetKit extension.


3. Understanding Widgets in WidgetKit

1. Getting to Know the Widget Components

This video explains the components that make up a Widget.

2. Four Key Components

This video explains the four key components that make up a widget, which are timeline provider, timeline entry, timeline entry view, and widget configuration.

3. Timeline Provider

This video explains one of the key components, the timeline provider, which is the brain of the widget.

4. Timeline Entry

This video explains the second key component, the timeline entry, which is the source of data used by the widget.

5. Timeline Entry View

This video explains timeline entry view, which is the SwiftUI view that defines the layout displayed on the widget.

6. Widget Configuration

This video explains widget configuration, which is an important piece of the widget creation process.

7. Preview Provider

This video explains the preview provider for the widget extension.

8. Widget Bundle

This video explains the widget bundle used to support multiple types of widgets that your app supports.


4. Build Your First Widget from Scratch

1. Hello Widget Timeline Entry

This video explains how to create the hello widget timeline entry.

2. Timeline Entry View

This video explains the timeline entry view for the widget.

3. Timeline Provider

This video explains the timeline provider by creating a new Swift file and renaming it to hellowidget timeline provider.

4. Widget Configuration

This video explains the widget configuration by creating a new file called hellostaticwidget.

5. Widget Family

This video explains the widget family and how to add modifiers to the static configuration.


5. Today Widget

1. Today Widget Introduction

This video explains the today widget, which will display today's date along with the last time it was updated.

2. Today Widget Entry

This video explains how to create today's widget entry.

3. Today Widget Provider

This video explains the today widget timeline provider by adding a new Swift file.

4. Widget Entry View

This video explains the today widget entry view.

5. Widget Configuration

This video explains the widget configuration by creating a new Swift file called todaywidget.

6. Widget Bundle

This video explains the widget bundle file and how to add the newly created widget to the screen.


6. Network-Enabled Widget

1. Quotes Widget Introduction

This video explains the quotes widget creation and how it works.

2. Quotes Struct

This video explains how to create the data structure for our quotes widget.

3. Quote Network Service

This video explains the quote network service by creating a networking logic.

4. Quote Timeline Entry

This video explains the quote timeline entry.

5. Quote Timeline Provider

This video explains the quote timeline provider.

6. Quote Widget View

This video explains the quote widget view.

7. Quote Configuration

This video explains the quote configuration.

8. Quote Widget in Bundle

This video explains how to add the widget to the widget bundle.


7. Photo-Based Widget

1. Photo Widget Introduction

This video explains the photo-based widget.

2. Photo Widget Entry

This video explains the photo widget entry.

3. Network-Enabled View

This video explains the network-enabled view.

4. Photo Widget View

This video explains the photo widget view.

5. Photo Widget Timeline Provider

This video explains the photo widget timeline provider.

6. Photo Widget

This video explains how to add the photo widget to the widget bundle.


8. Widget Size Family

1. Weather Widget Introduction

This video introduces you to the weather widget project, which will fetch weather data from the API.

2. Weather Data Structure

This video explains the weather data structure by creating a folder to keep the weather data.

3. Weather Service

This video explains how to create the weather service.

4. Weather Utility

This video explains how to create a new helper function/weather utility.

5. Weather Entry

This video explains the widget entry and how to start writing the widget.

6. Weather Constants

This video explains how to create the snapshot data.

7. Weather Timeline Provider

This video explains the weather timeline provider of the widget.

8. Weather View

This video explains the weather view, which is the SwiftUI.

9. Daily Weather View

This video explains another view called the daily weather view.

10. Weather Widget View

This video explains putting together all the views in the weather widget view.

11. Weather Widget

This video explains the weather widget configuration.


9. Charts Framework in Widget

1. Workout Widget Introduction

This video introduces you to the workout widget.

2. Workout Model

This video explains the workout model.

3. Workout View

This video explains the workout view.

4. Workout Widget Entry

This video explains the workout widget entry.

5. Workout Widget Timeline Provider

This video explains the workout widget timeline provider.

6. Workout Widget

This video explains the workout widget.


10. Data Sync Between App and Widget

1. Reminder Widget Introduction

This video introduces you to the reminder widget.

2. App Groups

This video explains how to add groups in the widget.

3. Reminder Data Model

This video explains the reminder data model.

4. Reminders App

This video explains the reminders app.

5. Reminder App Constants

This video explains the reminder app constants.

6. Reminder Widget Entry

This video explains the reminder widget entry.

7. Reminder Widget View

This video explains the reminder widget view.

8. Timeline Provider

This video explains the timeline provider view.

9. Widget Configuration

This video explains the widget configuration.

10. App and Widget Data Sync

This video explains the app and widget data sync.


11. Core Data in WidgetKit

1. Grocery Widget

This video explains the creation of a grocery widget.

2. Grocery Data Model

This video explains the grocery data model of the widget.

3. Grocery Constants

This video explains grocery constants.

4. Color Extension

This video explains color extension.

5. Core Data Manager

This video explains the core data manager.

6. Managed Object Context

This video explains the managed object context.

7. Grocery Item Entry

This video explains the grocery item entry.

8. Grocery App View

This video explains the grocery app view or the Swift view.

9. Grocery Entry

This video explains the grocery entry.

10. Grocery Entry View

This video explains the grocery entry view.

11. Grocery Timeline Provider

This video explains the grocery timeline provider.

12. Grocery Widget

This video explains the configuration of the grocery widget.


12. Understanding Configurable Widget

1. Color Widget Introduction

This video explains the color widget.

2. Intent Definition File

This video explains the intent definition file.

3. Timeline Entry

This video explains the timeline entry of the widget.

4. Widget View

This video explains the widget view.

5. Widget Intent Timeline Provider

This video explains the widget intent timeline provider.

6. Color Widget

This video explains the configuration of the color widget.


13. Configurable Widget Deep Dive

1. Expense Widget Introduction

This video introduces you to the expense widget.

2. Monthly Expense Intent Definition File

This video explains the monthly expense intent definition file.

3. Expense Category

This video explains the expense category.

4. Expense Entry

This video explains the expense entry.

5. Expense Item View

This video explains the expense item view.

6. Expense Widget View

This video explains the expense widget view.

7. Expense Timeline Provider

This video explains the expense timeline provider.

8. Expense Widget

This video explains the configuration of the expense widget.


14. Deep Links in Widgets

1. Exchange Rate Widget Introduction

This video introduces the exchange rate widget.

2. Country Model

This video explains the country model.

3. Exchange Rate Model

This video explains the exchange rate model.

4. Exchange Rate Service

This video explains the exchange rate service.

5. Country List Cell View

This video explains the country list cell view.

6. Country Exchange Rate View

This video explains the country exchange rate view.

7. Exchange Rate App

This video explains the exchange rate app.

8. Exchange Rate Widget Entry

This video explains the exchange rate widget entry.

9. Exchange Rate Entry View

This video explains the exchange rate entry view.

10. Exchange Rate Timeline Provider

This video explains the exchange rate timeline provider.

11. Exchange Rate Widget

This video explains the exchange rate widget.

12. Adding Widget to the Widget Bundle

This video explains adding the widget to the widget bundle.

13. Entry View Deep Link

This video explains the entry view deep link.

14. Widget Deep Link Through OpenURL

This video explains the widget deep link through OpenURL.


15. Custom Configuration Widget

1. Stocks App Introduction and Model

This video explains a stock app widget.

2. Stock Service

This video explains the stock service.

3. Stock View

This video explains the stock view.

4. Intent Definition File

This video explains the intent definition file.

5. Custom Intent Extension

This video explains the custom intent extension.

6. Intent Handler

This video explains the intent handler.

7. Stock Symbol Entry

This video explains the stock symbol entry or the timeline entry.

8. Stock Widget Entry View

This video explains the stock widget entry view.

9. Stock Timeline Provider

This video explains the stock timeline provider.

10. Stock Widget

This video explains the stock widget configuration.


16. iOS 16 Lock Screen Widget

1. Lock Screen Widget Introduction

This video introduces you to the lock screen widget.

2. Pedometer App Folder

This video explains the pedometer app folder.

3. Pedometer Model

This video explains the pedometer model.

4. Pedometer Manager

This video explains the pedometer manager.

5. Pedometer App Constants

This video explains pedometer app constants.

6. Pedometer App View

This video explains the pedometer app view or the Swift view.

7. Pedometer Entry

This video explains the pedometer entry.

8. Pedometer Entry View

This video explains the pedometer entry view.

9. Pedometer Timeline Provider

This video explains the pedometer timeline provider.

10. Pedometer Widget

This video explains the pedometer widget configuration.


17. Maps in Widgets

1. Map Widget Introduction

This video introduces you to the map widget.

2. Famous Places Map Entry

This video explains the timeline entry, which will help you add famous places.

3. Famous Places Widget Entry View

This video explains the famous places widget entry view or a SwiftUI view.

4. Map Timeline Provider

This video explains how the map timeline provider returns images of places.

5. Famous Places Widget

This video explains the famous places widget configuration.


18. iOS 16.1 Live Activity Widget

1. Live Activities Introduction

This video introduces you to live activities, which was released in iOS 16.1.

2. Focus Timer Attributes

This video explains focus timer attributes using the live activity.

3. Timer Entry View

This video explains how to create the focus timer entry view.

4. Timer Live Widget

This video explains creating the focus timer live widget.

5. Timer App View

This video explains the focus timer app view or the Swift view.

6. Timer App Configuration and Widget

This video explains the timer app configuration and the widget.


19. iOS 16.1 Live Activity Lifecycle Events

1. Pizza Delivery Live Activity Widget Introduction

This video introduces you to the pizza delivery live activity widget.

2. Pizza Order Attribute

This video explains pizza order attribute file, which will be shared between the app and the widget.

3. Pizza Type

This video explains how to create a pizza type by creating a new Swift file.

4. Pizza Order View

This video explains the pizza order view.

5. Activity Configuration

This video explains the activity configuration in the pizza delivery widget.

6. Live Activity Widget

This video explains the final part of the widget using the widget bundle.


20. iOS 16 Dynamic Island

1. Dynamic Island Introduction

This video introduces you to Dynamic Island and how it helps you keep track of tasks from or to the app.

2. Dynamic Island Expanded Region Leading

This video explains Dynamic Island and the newly introduced activity configuration.

3. Dynamic Island Expanded Trailing, Center, and Bottom Region

This video explains Dynamic Island expanded trailing, center, and bottom region.

4. Compact Minimal View For Dynamic Island

This video explains the compact minimal view for Dynamic Island.

Course Content

  1. Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews