{"id":2713,"date":"2020-01-31T20:55:35","date_gmt":"2020-01-31T20:55:35","guid":{"rendered":"http:\/\/4310.mynmi.net\/?page_id=2713"},"modified":"2026-03-21T22:01:25","modified_gmt":"2026-03-21T22:01:25","slug":"working-with-images","status":"publish","type":"page","link":"https:\/\/nmi.cool\/appdev\/working-with-images\/","title":{"rendered":"Working with Images"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>This week, we&#8217;ll be learning how inject imagery into your app creations. Between pics and SF symbols (images that act like fonts), you&#8217;ll learn how to find, insert, and modify imagery to create a visual work of art, or at least a great looking UI! You are going to enjoy chapter 3 from Mastering SwiftUI, so go ahead and give it a read!<\/p>\n\n\n\n<p><strong>Read Chapter 3: Working with Images in Mastering SwiftUI<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Key Takeaways<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Images are displayed using the <code>Image<\/code> view \u2014 pass a filename string for asset images, or a symbol name using <code>Image(systemName:)<\/code> for SF Symbols.<\/li>\n\n\n<li>SF Symbols are Apple&#8217;s library of 5,000+ scalable icons that behave like fonts \u2014 they automatically scale with Dynamic Type and adopt your app&#8217;s tint color.<\/li>\n\n\n<li><code>.resizable()<\/code> must be applied before you can change an image&#8217;s size with <code>.frame()<\/code> \u2014 without it, the frame modifier has no effect.<\/li>\n\n\n<li><code>.scaledToFit()<\/code> preserves aspect ratio while fitting within the frame; <code>.scaledToFill()<\/code> fills the frame and may crop.<\/li>\n\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview This week, we&#8217;ll be learning how inject imagery into your app creations. Between pics and SF symbols (images that act like fonts), you&#8217;ll learn how to find, insert, and modify imagery to create a visual work of art, or at least a great looking UI! You are going to enjoy chapter 3 from Mastering &hellip; <a href=\"https:\/\/nmi.cool\/appdev\/working-with-images\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Working with Images<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2713","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages\/2713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/comments?post=2713"}],"version-history":[{"count":4,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages\/2713\/revisions"}],"predecessor-version":[{"id":4172,"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/pages\/2713\/revisions\/4172"}],"wp:attachment":[{"href":"https:\/\/nmi.cool\/appdev\/wp-json\/wp\/v2\/media?parent=2713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}