Packt
Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island
Packt

Mastering WidgetKit in SwiftUI 4, iOS 16 with Dynamic Island

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

15 hours to complete
3 weeks at 5 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

15 hours to complete
3 weeks at 5 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand the basics of WidgetKit and its architecture in SwiftUI.

  • Analyze the power of SwiftUI 4 and iOS 16 for building widgets.

  • Apply techniques to create and configure static and dynamic widgets using WidgetKit in Xcode.

  • Design lock screen widgets that provide quick access to app features.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2024

Assessments

8 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 20 modules in this course

In this module, we will provide an overview of the entire course, detailing the specific widgets you will learn to create. This introductory session sets the stage for your learning journey with WidgetKit in SwiftUI 4 and iOS 16.

What's included

1 video1 reading

In this module, we will explore the basics of WidgetKit, including its purpose and capabilities. You'll learn how to add a WidgetKit extension to your project, laying the groundwork for more advanced widget development.

What's included

2 videos

In this module, we will delve into the anatomy of widgets in WidgetKit. You'll learn about each component's role, from the timeline provider to the widget configuration, and how they interact to create functional widgets.

What's included

8 videos1 assignment

In this module, we will guide you through building your first widget from scratch. You'll create a simple timeline entry, configure its view, and understand how to handle different widget families and settings.

What's included

5 videos

In this module, we will focus on creating a Today widget that displays the current date and the last update time. You'll learn to build the timeline provider, configure the widget, and bundle it for deployment.

What's included

6 videos

In this module, we will create a network-enabled widget that fetches and displays quotes. You'll develop the necessary data structures, networking logic, and configuration to enable real-time data updates in your widget.

What's included

8 videos1 assignment

In this module, we will build a photo-based widget that displays images fetched from a network source. You'll learn to create the data entry, view, and provider necessary for a dynamic photo widget.

What's included

6 videos

In this module, we will create a weather widget project that supports various size families. You'll design different views, create necessary data structures, and configure the widget to adapt to different sizes and layouts.

What's included

11 videos

In this module, we will introduce you to the Charts framework and how to use it within widgets. You'll create a workout widget that visualizes workout data using charts, developing the necessary models, views, and configurations.

What's included

6 videos1 assignment

In this module, we will explore data synchronization between an app and its widget. You'll learn to use app groups, develop shared data models, and ensure your widget accurately reflects the synced data.

What's included

10 videos

In this module, we will dive into integrating Core Data with WidgetKit. You'll create a grocery widget, develop the necessary data models, manage contexts, and configure the widget to display Core Data-managed content.

What's included

12 videos

In this module, we will focus on creating configurable widgets. You'll learn to use intent definitions, develop necessary views and providers, and configure your widgets to allow user customization.

What's included

6 videos1 assignment

In this module, we will take a deep dive into developing complex configurable widgets. You'll create an expense widget with multiple parameters, implement detailed intent definitions, and configure the widget for complex data handling.

What's included

8 videos

In this module, we will explore deep linking within widgets. You'll develop an exchange rate widget, implement necessary models and views, and configure deep links and OpenURL methods for enhanced widget functionality.

What's included

14 videos

In this module, we will guide you through creating custom configuration widgets. You'll develop a stock app widget, implement necessary services and views, and configure the widget to handle custom data and interactions.

What's included

10 videos1 assignment

In this module, we will focus on creating widgets for the iOS 16 lock screen. You'll develop a pedometer widget, implement necessary models and views, and configure the widget for lock screen display.

What's included

10 videos

In this module, we will create a map widget that displays famous places. You'll develop the necessary timeline entries, views, and configure the widget to integrate and display map-based data.

What's included

5 videos

In this module, we will introduce live activity widgets released in iOS 16.1. You'll develop a focus timer widget, implement necessary attributes and views, and configure the widget for real-time updates.

What's included

6 videos1 assignment

In this module, we will focus on live activity widgets with lifecycle event tracking. You'll create a pizza delivery widget, develop necessary attributes and views, and configure the widget to handle various lifecycle events.

What's included

6 videos

In this module, we will explore integrating Dynamic Island into your widgets. You'll develop views for different regions of Dynamic Island and configure your widgets to utilize its interactive features effectively.

What's included

4 videos2 assignments

Instructor

Packt
Packt
125 Courses1,748 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Mobile and Web Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions