{"id":3327,"date":"2023-06-11T14:32:08","date_gmt":"2023-06-11T18:32:08","guid":{"rendered":"https:\/\/michaelrowe01.com\/?p=3327"},"modified":"2023-06-11T14:32:11","modified_gmt":"2023-06-11T18:32:11","slug":"elevate-your-windowed-app-for-spatial-computing","status":"publish","type":"post","link":"https:\/\/michaelrowe01.com\/index.php\/blog\/elevate-your-windowed-app-for-spatial-computing\/","title":{"rendered":"Elevate your windowed app for Spatial Computing"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"371\" data-attachment-id=\"3328\" data-permalink=\"https:\/\/michaelrowe01.com\/index.php\/blog\/elevate-your-windowed-app-for-spatial-computing\/attachment\/%ef%a3%bfwwdc23-43\/\" data-orig-file=\"https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?fit=1920%2C1080&amp;ssl=1\" data-orig-size=\"1920,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\uf8ffWWDC23-43\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?fit=660%2C371&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?resize=660%2C371&#038;ssl=1\" alt=\"\" class=\"wp-image-3328\" srcset=\"https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/michaelrowe01.com\/wp-content\/uploads\/2023\/06\/%EF%A3%BFWWDC23-43.png?w=1320&amp;ssl=1 1320w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<p>Spatial computing means your apps fit in the your surroundings<\/p>\n\n\n\n<p>While SwiftUI is the focus, UIKit can take advantage of much of this content.<\/p>\n\n\n\n<p>SwiftUI in the Share Space<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Most of the system applications were written in SwiftUI &#8211; so you can see that it is similar to iPad apps but taking full advance of the environment&nbsp;<\/li>\n\n\n\n<li>This session updates the BackYard bird sample app, so until the VisionOS extensions are available you won\u2019t be able code along.&nbsp; Watch this session to become familiar for when they are available.<\/li>\n\n\n\n<li>You need to add a new run definition for the \u201cnew platform\u201d, if you use native vs. designed for iPad it will change to the new Glass background.&nbsp; You don\u2019t have to deal with light and dark<\/li>\n<\/ul>\n\n\n\n<p>Polish your app<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Updating your custom views, note that physical resolution may make some assets blurry, try updating your content assets with Vector assets.\u00a0 If you use Bitmaps you may see blurring\n<ul class=\"wp-block-list\">\n<li>Change you \u201cScales\u201d parameter in the inspector of the asset and choose single scale for vectors, also select preserve vector data.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Change solid color backgrounds, as they will not change contrast with Glass.&nbsp; Add \u201cVibrancy\u201d to provide additional clarity on glass.&nbsp; It\u2019s there by default with standard controls.&nbsp; So things like .foreground(.tertiary), etc. &nbsp; You can remove color scheme check too.<\/li>\n\n\n\n<li>Interactive targets should be reviewed to see how they work on the new platform.\u00a0 If you have standard controls you should be ok, but if you\u2019ve customized them, you will need to review your code.\n<ul class=\"wp-block-list\">\n<li>There are hover effects to show focus. If you have customer controls you should add your hover effects &#8211; by default you can just use .hoverEffect() &#8211; but you can add a contentShape modifier to clean up the view.<\/li>\n\n\n\n<li>By changing a view to a button, you get more appropriate changes.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Brand new concepts<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Top level layout changes &#8211; you should use a TabView instead of a Sidebar &#8211; this will give you the side buttons that expand with titles when the user focuses on it.\n<ul class=\"wp-block-list\">\n<li>This also gives more room for the content, it is called an ornament&nbsp;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>The bottom toolbar\u00a0 is also a toolbar modifier of .bottomOrnament placement option.\n<ul class=\"wp-block-list\">\n<li>You can build custom ornaments&nbsp;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Spatial computing means your apps fit in the your surroundings While SwiftUI is the focus, UIKit can take advantage of much of this content. SwiftUI in the Share Space Polish your app Brand new concepts<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"hide_page_title":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,3],"tags":[752,744,703,680],"class_list":["post-3327","post","type-post","status-publish","format-standard","hentry","category-blog","category-personal-softwareandit","tag-day-7","tag-migration","tag-spatial-computing","tag-wwdc23"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2aMa8-RF","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts\/3327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/comments?post=3327"}],"version-history":[{"count":1,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts\/3327\/revisions"}],"predecessor-version":[{"id":3329,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/posts\/3327\/revisions\/3329"}],"wp:attachment":[{"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/media?parent=3327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/categories?post=3327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelrowe01.com\/index.php\/wp-json\/wp\/v2\/tags?post=3327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}