{"id":68,"date":"2022-04-24T20:09:00","date_gmt":"2022-04-24T20:09:00","guid":{"rendered":"https:\/\/www.bigbo.at\/?p=68"},"modified":"2022-04-24T21:14:25","modified_gmt":"2022-04-24T21:14:25","slug":"5-days-in-2-weeks","status":"publish","type":"post","link":"https:\/\/www.bigbo.at\/?p=68","title":{"rendered":"5 Days in 2 weeks"},"content":{"rendered":"\n<p>Today, I completed day 25 of <a href=\"https:\/\/www.hackingwithswift.com\/100\/swiftui\">#100DaysOfSwiftUI<\/a>.  For those keeping track it\u2019s been two weeks since I completed day 20.  Life, uh uh uh, finds a way\u2026.. to interrupt my SwiftUI learning.  <\/p>\n\n\n\n<p>Day 25 is \u201cConsolidation II\u201d day and took a fair bit of thinking.  I was able to use what I\u2019ve learned in combination with borrowing code from Project 3 and create a usable app.  The UI could use some pretty-ing up, but we have a workable solution.<\/p>\n\n\n\n<p>Once all the goals of the challenge had been met, I read into <a href=\"https:\/\/twitter.com\/twostraws?s=21&amp;t=cmmLc357xJKph4OrAfH3oQ\">@twostraws <\/a>hints.  It turns out, I was mostly on track but could\u2019ve improved how I tracked wrong answers.  I had setup a switch statement in a computed property, but another array was a better solution.<\/p>\n\n\n\n<p>One fun experiment I tried today was to run the project in Swift Playgrounds on my iPad.  Using the Universal Clipboard, I copied the code from my MacBook Air to my iPad and ran it.  Take a look! Neat.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2388\" height=\"1668\" src=\"https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file.jpg\" alt=\"\" class=\"wp-image-72\" srcset=\"https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file.jpg 2388w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file-300x210.jpg 300w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file-1024x715.jpg 1024w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file-768x536.jpg 768w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file-1536x1073.jpg 1536w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/4bfb5766-1880-490c-b41f-4889baa15a64-368-00000000a9d7f85d_file-2048x1431.jpg 2048w\" sizes=\"auto, (max-width: 2388px) 100vw, 2388px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2388\" height=\"1668\" src=\"https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file.jpg\" alt=\"\" class=\"wp-image-73\" srcset=\"https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file.jpg 2388w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file-300x210.jpg 300w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file-1024x715.jpg 1024w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file-768x536.jpg 768w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file-1536x1073.jpg 1536w, https:\/\/www.bigbo.at\/wp-content\/uploads\/2022\/04\/6adddd64-b493-4797-90e2-2299f5debb3c-368-000000020d3bc6fa_file-2048x1431.jpg 2048w\" sizes=\"auto, (max-width: 2388px) 100vw, 2388px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Today, I completed day 25 of #100DaysOfSwiftUI. For those keeping track it\u2019s been two weeks since I completed day 20. Life, uh uh uh, finds a way\u2026.. to interrupt my SwiftUI learning. Day 25 is \u201cConsolidation II\u201d day and took a fair bit of thinking. I was able to use<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bigbo.at\/index.php?rest_route=\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigbo.at\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bigbo.at\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigbo.at\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigbo.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":3,"href":"https:\/\/www.bigbo.at\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":74,"href":"https:\/\/www.bigbo.at\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions\/74"}],"wp:attachment":[{"href":"https:\/\/www.bigbo.at\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigbo.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigbo.at\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}