DevTechie/Mastering WidgetKit in SwiftUI 4, iOS 16

  • $9.99

Mastering WidgetKit in SwiftUI 4, iOS 16

  • Course
  • 145 Lessons

iOS 16 and SwiftUI 4 brought in many new features to make Widget development fun. WWDC 22 introduced Lock Screen Widgets along with Charts Framework and later in the year, Apple introduced Live Activity Widgets and Dynamic Island. In this course, we will master WidgetKit which includes learning all about Widgets as well as learning newly introduced Lock Screen, Live Activity and Dynamic Islands in iOS 16 & SwiftUI 4

Contents

Introduction

Mastering WidgetKit iOS16 SwiftUI 4 & iOS 16 Course Introduction
Preview

WidgetKit Introduction and Setup

WidgetKit Introduction
Adding New Widget Extension

Creating your first widget

Getting To Know Your First Widget
Four Key Components for Widgets
Timeline Provider in Widgets
Timeline Entry for Widgets
Timeline Entry View
Widget Configuration
Preview Provider
Widget Bundle

Building Hello Widget from Scratch

Hello Widget TimelineEntry
Timeline Entry View
Timeline Provider
Widget Configuration
Widget Size Family

Building Calendar Widget

Today Widget Introduction
Today Widget Entry
Today Widget Provider
Widget Entry View
Widget Configuration
Widget Bundle

Quotes Widget: Fetching Data from API for Widget

Quotes Widget Introduction
Quotes Struct
Quotes Network Service
Quotes Timeline Entry
Quotes Timeline Provider
Quotes Widget View
Quotes Configuration
Quotes Widget In Bundle

Photo Widget

Photo Widget Introduction
Photo Widget Entry
Network Image View
Photo Widget View
Photo Widget Timeline Provider
Photo Widget

Weather Widget

Weather Widget Introduction
Weather Data Structure
Weather Service
Weather Helper Utility
Weather Entry
Weather Constants
Weather Timeline Provider
Weather View
Daily Weather View
Weather Widget View
Weather Widget

Workout Widget with Charts Framework

Workout Widget Introduction
Workout Model
Workout View
Workout Entry
Workout Timeline Provider
Workout Widget

Reminder Widget with Data Sharing using App Groups

Reminders Widget Introduction
App Groups
Reminder Data Model
Reminders App
Reminders App Constant
Reminders Widget Entry
Reminders Widget View
Timeline Provider
Widget Configuration
App and Widget Data Sync for Data Sharing

Grocery Widget: Working with CoreData

Grocery Widget Introduction
Grocery Data Model
Grocery Constants
Color Extension
Core Data Manager Persistent Container
Managed Object Context
Grocery Item Entity
Grocery App View
Grocery Entry
Grocery Entry View
Grocery Timeline Provider
Grocery Widget

User Configurable Widgets

Color Configurable Widget
Color Intent Definition
Color Timeline Entry
Color Widget View
Color Widget Timeline Provider
Color Widget

Expense Widget: User Configurable Widget

Expense Widget Introduction
Monthly Expense Intent Definition
Expense Category
Expense Entry
Expense Item View
Expense Widget View
Expense Timeline Provider
Expense Widget

Learn Deep Links with Exchange Rate Widget

Exchange Rate Widget Introduction
Country Model
Exchange Rate Model
Exchange Rate Service
Country List Cell View
Country Exchange Rate View
Exchange Rate App
Exchange Rate Entry
Exchange Rate Entry View
Timeline Provider
Exchange Rate Widget
DevTechie Sub-bundle For Widgets
Exchange Rate Entry View DeepLink
Exchange Rate Widget DeepLink OpenURL

Custom Configurations Widget with Custom Intent Definition

Stock App Introduction and Stock Model
Stock Service
Stocks View
Custom Intent Definition FIle
Custom Intent Extension
Custom Intent Handler
Stock Symbol Entry
Stock Widget Entry View
Stock Timeline Provider
Stock Widget

iOS 16 Lock Screen Widget: Pedometer Widget

Lock Screen Widget Introduction
Pedometer App Folder
Pedometer Model
Pedometer Manager
Pedometer App Constants
Pedometer App View
Pedometer Entry
Pedometer Entry View
Pedometer Timeline Provider
Pedometer Widget

Map Widget: Showing map in Widget

FamousPlace Map Widget
Famous Place Map Entry
Famous Place Map Widget Entry View
Famous Place Map Provider
Famous Place Widget

Focus Timer Live Widget

Live Activities Introduction
Focus Timer Attributes
Focus Timer Entry View
Focus Timer Live Widget
Focus Timer App View
Widget Bundle

Pizza Delivery Live Activity Widget

Pizza Delivery Live Activity Introduction
Pizza Order Attributes
Pizza Type Enum
Pizza Order View
Pizza Delivery Widget Configuration
Pizza Delivery Live Activity Widget

iOS 16 Dynamic Island: Pizza Delivery Dynamic Island Live Activity

Dynamic Island Introduction
Dynamic Island Expanded Region for Leading View
Dynamic Island Expanded Region Trailing, Center, and Bottom Views
Dynamic Island Compact Minimal View

Source Code

MasteringWidgetKit.zip