{"id":126051,"date":"2022-06-08T14:05:23","date_gmt":"2022-06-08T14:05:23","guid":{"rendered":"https:\/\/developer.apple.com\/news\/?id=2q8t97ob"},"modified":"2022-06-08T14:05:23","modified_gmt":"2022-06-08T14:05:23","slug":"challenge-widgetkit-workshop","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2022\/06\/08\/challenge-widgetkit-workshop\/","title":{"rendered":"Challenge: WidgetKit workshop"},"content":{"rendered":"<div class=\"inline-article-image\"><img decoding=\"async\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/06\/challenge-widgetkit-workshop.jpg\" data-hires=\"false\" alt><\/div>\n<p>Take a glance at this WidgetKit challenge, won&#8217;t you? With glanceable experiences coming to the Lock Screen in iOS 16, it\u2019s the perfect time to try building your very own Lock Screen widget. <\/p>\n<h3>Begin the challenge<\/h3>\n<p>If you\u2019re exploring glanceable technologies for the first time, welcome! Before we get started with the challenge, check out \u201cComplications and widgets: Reloaded\u201d for an overview of the latest updates to WidgetKit.<\/p>\n<section class=\"grid activity\">\n<section class=\"row\">\n<section class=\"column large-4 small-4 no-padding-top no-padding-bottom\"> <a href=\"https:\/\/developer.apple.com\/wwdc22\/10050\" class=\"activity-image-link\"> <img decoding=\"async\" class=\"actiity-image medium-scale\" width=\"250\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/06\/challenge-widgetkit-workshop-1.jpg\" data-hires=\"false\" alt> <\/a> <\/section>\n<section class=\"column large-8 small-8 padding-left-small padding-top-small padding-bottom-small no-padding-top no-padding-bottom\"> <a href=\"https:\/\/developer.apple.com\/wwdc22\/10050\"> <\/p>\n<h4 class=\"no-margin-bottom activity-title\">Complications and widgets: Reloaded<\/h4>\n<p class=\"activity-description\">Our widgets code-along returns as we adventure onto the watchOS and iOS Lock Screen. Learn about the latest improvements to WidgetKit that help power complex complications on watchOS and can help you create Lock Screen widgets for iPhone. We\u2019ll show you how to incorporate the latest SwiftUI views&#8230;<\/p>\n<p> <\/a> <\/section>\n<\/section>\n<\/section>\n<p>Once you\u2019re ready to begin, it\u2019s time to examine your app: What parts of it might work as a widget? After you\u2019ve identified an aspect, explore configuration options and the best timeline for your model.<\/p>\n<p>If you already have a Home Screen widget, you can also explore reusing your SwiftUI code. Not every Home Screen widget is a great candidate for a Lock Screen widget, so consider different approaches to find the right one for your app.<\/p>\n<p>For extra credit: What happens when you deploy your code to the Apple Watch? Have you found yourself most of the way to an awesome watchOS complication? Would you make any modifications to make your experience feel at home on Watch?<\/p>\n<p>How will you transform your Lock Screen? Show us what you\u2019ve made on Twitter with the hashtag #WWDC22Challenges, or share your work in the WidgetKit Study Hall. And if you&#8217;d like to chat more about WidgetKit, join the team at events all throughout the week at WWDC22.<\/p>\n<p><a href=\"https:\/\/twitter.com\/search?q=%23WWDC22Challenges\" class=\"icon icon-after icon-chevronright\">Explore #WWDC22Challenges on social media<\/a><\/p>\n<p><a href=\"https:\/\/developer.apple.com\/wwdc22\/challenges\/terms\/WWDC22_Challenge_Terms_Conditions.pdf\" class=\"icon icon-after icon-chevronright\">Read the WWDC22 Challenges Terms and Conditions<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Take a glance at this WidgetKit challenge, won&#8217;t you? With glanceable experiences coming to the Lock Screen in iOS 16, it\u2019s the perfect time to try building your very own Lock Screen widget. Begin the challenge If you\u2019re exploring glanceable technologies for the first time, welcome! Before we get started with the challenge, check out [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":126052,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-126051","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apple-developer-news"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/126051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=126051"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/126051\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/126052"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=126051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=126051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=126051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}