{"id":128223,"date":"2021-06-10T13:30:24","date_gmt":"2021-06-10T13:30:24","guid":{"rendered":"https:\/\/developer.apple.com\/news\/?id=yudyoi9z"},"modified":"2021-06-10T13:30:24","modified_gmt":"2021-06-10T13:30:24","slug":"challenge-focus-on-focus-apis-in-swiftui","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2021\/06\/10\/challenge-focus-on-focus-apis-in-swiftui\/","title":{"rendered":"Challenge: Focus on Focus APIs in SwiftUI"},"content":{"rendered":"<div class=\"inline-article-image\"><img decoding=\"async\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/09\/challenge-focus-on-focus-apis-in-swiftui.jpg\" data-hires=\"false\" alt=\"Image showing three text fields with one in focus\"><\/div>\n<p>With device input \u2014 as with all things in life \u2014 where you put your focus matters. Focus can help people move through your app, whether they\u2019re using the keyboard, Siri Remote, Apple Watch Digital Crown, or accessibility features \u2014 and you can make that experience even better with SwiftUI\u2019s Focus APIs.<\/p>\n<h3>Begin the challenge<\/h3>\n<p>Our challenge to you: Find a part of your app where you can use the SwiftUI Focus APIs to fine-tune that interaction. That could include testing a great new tvOS implementation, polishing keyboard-driven navigation, or crafting a great accessibility experience.<\/p>\n<p>Need support, or want help from the community as you explore the Focus APIs? You can share your progress in the Developer Forums.<\/p>\n<p><a href=\"https:\/\/developer.apple.com\/forums\/\" class=\"icon icon-after icon-chevronright\">Visit the Apple Developer Forums<\/a><\/p>\n<h3>Resources<\/h3>\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\/wwdc21\/10023\" class=\"activity-image-link\"> <img decoding=\"async\" class=\"actiity-image medium-scale\" width=\"250\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/09\/challenge-focus-on-focus-apis-in-swiftui-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\/wwdc21\/10023\"> <\/p>\n<h4 class=\"no-margin-bottom activity-title\">Direct and reflect focus in SwiftUI<\/h4>\n<p class=\"activity-description\">With device input \u2014 as with all things in life \u2014 where you put focus matters. Discover how you can move focus in your app with SwiftUI, programmatically dismiss the keyboard, and build large navigation targets from small views. Together, these APIs can help you simplify your app\u2019s interface&#8230;<\/p>\n<p> <\/a> <\/section>\n<\/section>\n<\/section>\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\/wwdc21\/10119\" class=\"activity-image-link\"> <img decoding=\"async\" class=\"actiity-image medium-scale\" width=\"250\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/09\/challenge-focus-on-focus-apis-in-swiftui-2.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\/wwdc21\/10119\"> <\/p>\n<h4 class=\"no-margin-bottom activity-title\">SwiftUI Accessibility: Beyond the basics<\/h4>\n<p class=\"activity-description\">Go beyond the basics to deliver an exceptional accessibility experience. Learn how to use the new SwiftUI Previews in Xcode to explore the latest accessibility APIs and create fantastic, accessible apps for everyone. Find out how you can customize the automatic accessibility built into SwiftUI to&#8230;<\/p>\n<p> <\/a> <\/section>\n<\/section>\n<\/section>\n<p><a href=\"https:\/\/developer.apple.com\/wwdc21\/challenges\/terms\/WWDC21_Challenge_Terms_Conditions.pdf\" class=\"icon icon-after icon-chevronright\">Read the WWDC21 Challenges Terms and Conditions<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With device input \u2014 as with all things in life \u2014 where you put your focus matters. Focus can help people move through your app, whether they\u2019re using the keyboard, Siri Remote, Apple Watch Digital Crown, or accessibility features \u2014 and you can make that experience even better with SwiftUI\u2019s Focus APIs. Begin the challenge [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":128224,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-128223","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\/128223","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=128223"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/128223\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/128224"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=128223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=128223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=128223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}