Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island

Video description

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!

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.

About The Author

DevTechie LLC: 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.

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction
  2. Chapter 2 : Getting Started
    1. WidgetKit Introduction
    2. Adding WidgetKit Extension
  3. Chapter 3 : Understanding Widgets in WidgetKit
    1. Getting to Know the Widget Components
    2. Four Key Components
    3. Timeline Provider
    4. Timeline Entry
    5. Timeline Entry View
    6. Widget Configuration
    7. Preview Provider
    8. Widget Bundle
  4. Chapter 4 : Build Your First Widget from Scratch
    1. Hello Widget Timeline Entry
    2. Timeline Entry View
    3. Timeline Provider
    4. Widget Configuration
    5. Widget Family
  5. Chapter 5 : Today Widget
    1. Today Widget Introduction
    2. Today Widget Entry
    3. Today Widget Provider
    4. Widget Entry View
    5. Widget Configuration
    6. Widget Bundle
  6. Chapter 6 : Network-Enabled Widget
    1. Quotes Widget Introduction
    2. Quotes Struct
    3. Quote Network Service
    4. Quote Timeline Entry
    5. Quote Timeline Provider
    6. Quote Widget View
    7. Quote Configuration
    8. Quote Widget in Bundle
  7. Chapter 7 : Photo-Based Widget
    1. Photo Widget Introduction
    2. Photo Widget Entry
    3. Network-Enabled View
    4. Photo Widget View
    5. Photo Widget Timeline Provider
    6. Photo Widget
  8. Chapter 8 : Widget Size Family
    1. Weather Widget Introduction
    2. Weather Data Structure
    3. Weather Service
    4. Weather Utility
    5. Weather Entry
    6. Weather Constants
    7. Weather Timeline Provider
    8. Weather View
    9. Daily Weather View
    10. Weather Widget View
    11. Weather Widget
  9. Chapter 9 : Charts Framework in Widget
    1. Workout Widget Introduction
    2. Workout Model
    3. Workout View
    4. Workout Widget Entry
    5. Workout Widget Timeline Provider
    6. Workout Widget
  10. Chapter 10 : Data Sync Between App and Widget
    1. Reminder Widget Introduction
    2. App Groups
    3. Reminder Data Model
    4. Reminders App
    5. Reminder App Constants
    6. Reminder Widget Entry
    7. Reminder Widget View
    8. Timeline Provider
    9. Widget Configuration
    10. App and Widget Data Sync
  11. Chapter 11 : Core Data in WidgetKit
    1. Grocery Widget
    2. Grocery Data Model
    3. Grocery Constants
    4. Color Extension
    5. Core Data Manager
    6. Managed Object Context
    7. Grocery Item Entry
    8. Grocery App View
    9. Grocery Entry
    10. Grocery Entry View
    11. Grocery Timeline Provider
    12. Grocery Widget
  12. Chapter 12 : Understanding Configurable Widget
    1. Color Widget Introduction
    2. Intent Definition File
    3. Timeline Entry
    4. Widget View
    5. Widget Intent Timeline Provider
    6. Color Widget
  13. Chapter 13 : Configurable Widget Deep Dive
    1. Expense Widget Introduction
    2. Monthly Expense Intent Definition File
    3. Expense Category
    4. Expense Entry
    5. Expense Item View
    6. Expense Widget View
    7. Expense Timeline Provider
    8. Expense Widget
  14. Chapter 14 : Deep Links in Widgets
    1. Exchange Rate Widget Introduction
    2. Country Model
    3. Exchange Rate Model
    4. Exchange Rate Service
    5. Country List Cell View
    6. Country Exchange Rate View
    7. Exchange Rate App
    8. Exchange Rate Widget Entry
    9. Exchange Rate Entry View
    10. Exchange Rate Timeline Provider
    11. Exchange Rate Widget
    12. Adding Widget to the Widget Bundle
    13. Entry View Deep Link
    14. Widget Deep Link Through OpenURL
  15. Chapter 15 : Custom Configuration Widget
    1. Stocks App Introduction and Model
    2. Stock Service
    3. Stock View
    4. Intent Definition File
    5. Custom Intent Extension
    6. Intent Handler
    7. Stock Symbol Entry
    8. Stock Widget Entry View
    9. Stock Timeline Provider
    10. Stock Widget
  16. Chapter 16 : iOS 16 Lock Screen Widget
    1. Lock Screen Widget Introduction
    2. Pedometer App Folder
    3. Pedometer Model
    4. Pedometer Manager
    5. Pedometer App Constants
    6. Pedometer App View
    7. Pedometer Entry
    8. Pedometer Entry View
    9. Pedometer Timeline Provider
    10. Pedometer Widget
  17. Chapter 17 : Maps in Widgets
    1. Map Widget Introduction
    2. Famous Places Map Entry
    3. Famous Places Widget Entry View
    4. Map Timeline Provider
    5. Famous Places Widget
  18. Chapter 18 : iOS 16.1 Live Activity Widget
    1. Live Activities Introduction
    2. Focus Timer Attributes
    3. Timer Entry View
    4. Timer Live Widget
    5. Timer App View
    6. Timer App Configuration and Widget
  19. Chapter 19 : iOS 16.1 Live Activity Lifecycle Events
    1. Pizza Delivery Live Activity Widget Introduction
    2. Pizza Order Attribute
    3. Pizza Type
    4. Pizza Order View
    5. Activity Configuration
    6. Live Activity Widget
  20. Chapter 20 : iOS 16 Dynamic Island
    1. Dynamic Island Introduction
    2. Dynamic Island Expanded Region Leading
    3. Dynamic Island Expanded Trailing, Center, and Bottom Region
    4. Compact Minimal View For Dynamic Island

Product information

  • Title: Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island
  • Author(s): DevTechie LLC
  • Release date: March 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781801815819