{"id":57,"date":"2022-05-05T05:49:05","date_gmt":"2022-05-05T05:49:05","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/encode\/?p=57"},"modified":"2022-05-05T05:49:40","modified_gmt":"2022-05-05T05:49:40","slug":"swift-ui-core-motion","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/encode\/2022\/05\/05\/swift-ui-core-motion\/","title":{"rendered":"Swift UI, Core Motion"},"content":{"rendered":"\n<p>This week, I spent a large amount of time building on my existing SwiftUI project \/ App, &#8220;Satellite Tracker&#8221; which I was able to test both in iPhone simulator on Xcode and on my own personal iPhone 13 Pro. <\/p>\n\n\n\n<p>In my app, I built a suite of instructional content cards instructing users what the app is for and how to use it, in addition to creating a few different dynamic card views. I&#8217;ve ensure my application cards are navigable using both L\/R scrolling and up and down scrolling \/ tap. <\/p>\n\n\n\n<p>In parallel to the above, I have learned a lot more about the Swift language in general via reading books such as <em>&#8220;Develop in Swift Explorations<\/em>&#8221; for Xcode 13. So far, I&#8217;m 26% through the Swift Playgrounds exercises, which I&#8217;ve been practicing in parallel with building on my app. I feel I have an enormous amount to learn and none of this is coming intuitively, but I&#8217;m happy with the place my app UI is in today. <\/p>\n\n\n\n<p>As mentioned above, I was finally able to deploy and test my improved application using not only iPhone simulator in Xcode, but on my own device as indicated in my project midpoint video. I&#8217;m not sure why WordPress won&#8217;t allow me to upload videos here, but I&#8217;ve attached the midpoint video just in case! <\/p>\n\n\n\n<p>P<a href=\"https:\/\/media.oregonstate.edu\/media\/t\/1_prkh4o60\">roject Midpoint <\/a><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/media.oregonstate.edu\/media\/t\/1_prkh4o60\"><\/video><figcaption>Project Midpoint &#8211; Screen Captures \/ Videos<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"379\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.07-PM-1024x379.png\" alt=\"\" class=\"wp-image-58\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.07-PM-1024x379.png 1024w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.07-PM-300x111.png 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.07-PM-768x285.png 768w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.07-PM-1536x569.png 1536w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.07-PM-2048x759.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Debugging Mode &#8211; getting Pitch \/ Roll \/ Yaw data from tapping an icon<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"317\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.13-PM-1024x317.png\" alt=\"\" class=\"wp-image-59\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.13-PM-1024x317.png 1024w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.13-PM-300x93.png 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.13-PM-768x238.png 768w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.13-PM-1536x476.png 1536w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5574\/files\/2022\/05\/Screen-Shot-2022-05-03-at-11.57.13-PM-2048x635.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Pitch \/ Roll \/ Yaw Data printed to STDOUT via Core Motion<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I spent a large amount of time building on my existing SwiftUI project \/ App, &#8220;Satellite Tracker&#8221; which I was able to test both in iPhone simulator on Xcode and on my own personal iPhone 13 Pro. In my app, I built a suite of instructional content cards instructing users what the app [&hellip;]<\/p>\n","protected":false},"author":12406,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/users\/12406"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":2,"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/posts\/57\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/encode\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}