<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mirella Cetronio on Medium]]></title>
        <description><![CDATA[Stories by Mirella Cetronio on Medium]]></description>
        <link>https://medium.com/@mirellacetronio?source=rss-9c5b4d7b87fe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*FcZJMc3CT9dPPRgc</url>
            <title>Stories by Mirella Cetronio on Medium</title>
            <link>https://medium.com/@mirellacetronio?source=rss-9c5b4d7b87fe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:21:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mirellacetronio/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Approaching to SwiftUI]]></title>
            <link>https://medium.com/apple-developer-academy-federico-ii/approaching-to-swiftui-a2ecd6492c17?source=rss-9c5b4d7b87fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2ecd6492c17</guid>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Mirella Cetronio]]></dc:creator>
            <pubDate>Fri, 10 Apr 2020 15:21:06 GMT</pubDate>
            <atom:updated>2020-04-10T15:21:06.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qFM9pVFdg1PaPtdOjxJhXA.png" /></figure><p>As Apple Developer Academy students, we met Swift for the first time more or less 6 months ago. The approach was immediate with our first Playground, we instantly dive into frameworks and codes almost unknown to us. Day by day, facing constraints and <a href="https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/">Auto Layout</a>, we finally mastered <strong><em>UIkit</em></strong>, the Holy Grail of our journey!</p><p>That was the extent of our knowledge, at least until we got to know <strong><em>SwiftUI, </em></strong>a new way to design user interfaces for iOS apps, which is basically a brand new system that might even replace Auto Layout entirely.</p><h3><strong>Differences between UIKit and SwiftUI</strong></h3><p>There are many differences between the two: UIKit with <em>Auto Layout </em>is more visual, while SwiftUI is declarative and provides developers with the ability of coding a UI, rather than composing it visually.</p><p>Auto Layout is based on a system which can adapt its rendering and appearance using constraints and rules defined by the developers. They can specify whether or not the views should appear larger, shrink, shift position coordinates, and more, making all UI components responsive and capable of adapting to screen sizes and resolutions. However for that to work, you need skills and seamless integration of frameworks.</p><p>We used Auto Layout so much during the year that when the time came to switch to SwiftUI it was a little tricky. Even though the two systems share a common theoretical approach, SwiftUI was fresh and new to us, and sometimes this has had a negative impact on our experience as developers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMR1TdJ311G1qT2AHa_TTA.gif" /><figcaption>Navigation Experience</figcaption></figure><p>SwiftUI is basically intended to design a single view app, in fact simple interfaces can be coded in very little time due to basic components that automatically integrate constraints and behaviours. That is not to say that SwiftUI will not allow you to create more complex apps, if need be, although its strongest feature is definitely the single view builder.</p><p>Using SwiftUI is associated with different approach to building projects, with its declarative syntax compared to the UIkit imperative syntax, and this is something that needs some time to get used to, so we can assert that SwiftUI is really easy to understand, but because it looks simple, it doesn’t mean it’s simple!</p><h3><strong>Two-week journey inside SwiftUI</strong></h3><p>Our SwiftUI journey started with <em>Hacking with Swift “100 Days of SwiftUI”</em>, a free collection of videos, tutorials, tests and more, and the official documentation on the Apple Developer website, which provides a simple and direct approach to this new frame, regardless of your experience level. Whether you are already able to program and want to deepen your knowledge or you are just a novice, these guides explain a single topic step by step to give a complete overview about all SwiftUI features. Starting from the basics and working your way up to the most difficult topics, you will find that no problem is too complex to solve.</p><figure><img alt="“Health” App Deconstruction" src="https://cdn-images-1.medium.com/max/1024/1*KCKJELnf9fME7FsUAIIeBg.gif" /><figcaption>Health App Deconstruction</figcaption></figure><p>Talking about our personal experience, we started our two-week journey to discover SwiftUI by choosing a native app and deconstructing it. As the first step we analysed all the UI Elementals and compared the storyboard of UIKit with the elements of SwiftUI. Going forward, we found that there were fewer steps to take and the code was much less substantial: the main difference is that with SwiftUI you can directly change your graphic elements, in few tasks using directly the code, and get an immediate preview.</p><h3><strong>Frames you will love about SwiftUI</strong></h3><p>The thing we have come to love the most about SwiftUI is that we finally have a “responsive” way to code our views, something we really wanted in Storyboards and UIKit, where previews were low quality and sometimes not efficient when using custom views and dynamic content. Another thing we really missed in old systems, where you have no other choice but to struggle with <em>UIView.animate()</em> and more. The new easing and animation system looks way better.</p><p>SwiftUI does not stop there: it also serves as a multi-platform user interface layer, which functions across tvOS, macOS, iOS and watchOS. It is more easy to use the same code across all platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Em_JDg1DovdCSuvJKmWqdw.png" /><figcaption>Enabling Catalyst</figcaption></figure><p>With the help of <strong><em>Catalyst</em></strong>, it’s surprisingly easy to get a good app framework up and running on macOS with SwiftUI. It’s a simple way to have a Mac app generated automatically just by selecting one extra option within Apple’s Xcode.</p><p>However simple and intuitive, SwiftUI offers endless possibilities because it’s a revolutionary tool that opens the door to a new generation of cross-platform applications, just with one language and one layout framework. In as far as our research has led us, we think that it could be the bright future of the world of Apple apps, and our study won’t stop here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3D33moKYJtGVuPczzGpOsw.png" /><figcaption>Mirella Cetronio — Martina Di Fuccia — Eduardo Zichittella</figcaption></figure><p>Enjoy your learning!</p><blockquote><a href="https://medium.com/@mirellacetronio">@Mirella Cetronio</a><br><a href="https://medium.com/@martinadifuccia">@Martina Di Fuccia</a><br><a href="https://medium.com/@eduardozichittella_45627">@Eduardo Zichittella</a></blockquote><p><strong><em>Resources:</em></strong></p><ul><li>100 Days of SwiftUI — Hacking with Swift<br><a href="https://www.hackingwithswift.com/100/swiftui">https://www.hackingwithswift.com/100/swiftui</a></li><li>Apple Developer Documentation<br><a href="https://developer.apple.com/swift/">https://developer.apple.com/swift/</a></li><li>Human Interface Guidelines<br><a href="https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/">https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2ecd6492c17" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apple-developer-academy-federico-ii/approaching-to-swiftui-a2ecd6492c17">Approaching to SwiftUI</a> was originally published in <a href="https://medium.com/apple-developer-academy-federico-ii">Apple Developer Academy | Federico II</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>