<?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[SwiftUI Forum - Medium]]></title>
        <description><![CDATA[SwiftUI Forum for all developers. - Medium]]></description>
        <link>https://medium.com/swiftui-forum?source=rss----f765b7c687d1---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>SwiftUI Forum - Medium</title>
            <link>https://medium.com/swiftui-forum?source=rss----f765b7c687d1---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 15:18:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/swiftui-forum" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting started with SwiftUI: iOS Development]]></title>
            <link>https://medium.com/swiftui-forum/getting-started-with-swiftui-ios-development-fccfc5bc16ac?source=rss----f765b7c687d1---4</link>
            <guid isPermaLink="false">https://medium.com/p/fccfc5bc16ac</guid>
            <category><![CDATA[navigationview]]></category>
            <category><![CDATA[image]]></category>
            <category><![CDATA[scrollview]]></category>
            <category><![CDATA[hstack]]></category>
            <category><![CDATA[vstack]]></category>
            <dc:creator><![CDATA[Neeraj]]></dc:creator>
            <pubDate>Mon, 09 Aug 2021 04:06:13 GMT</pubDate>
            <atom:updated>2021-08-09T05:32:30.639Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mApppI2OTWJAOJIc8IMblQ.png" /></figure><p>SwiftUI helps you build great-looking apps across all Apple platforms with the power of Swift — and as little code as possible. With SwiftUI, you can bring even better experiences to all users, on any Apple device, using just one set of tools and APIs.</p><p>Here is a table of content for this blog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*afXjVxNIMCfgNoFSRNhVWA.png" /></figure><h3>Keywords</h3><h4>struct:</h4><p><em>Structures</em> and <em>classes</em> are general-purpose, flexible constructs that become the building blocks of your program’s code. You define properties and methods to add functionality to your structures and classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*hM9rLw02_yfEgHmmD9os4Q.png" /></figure><h4>var:</h4><p>Variables associate a name with a value of a particular type. The value of a <em>variable</em> can be set to a different value in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*qMBthOHUbDkfq7BN7D30QQ.png" /></figure><h4>let:</h4><p>You declare constants with the <em>let</em> keyword like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*Quh5onwH40FuKT8AJJ0ZoA.png" /></figure><h4>State:</h4><p>SwiftUI manages the storage of any property you declare as a state. When the state value changes, the view invalidates its appearance and recomputes the body. Use the state as the single source of truth for a given view.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*M3fWLDGVY1mVBYbYJrFHFw.png" /></figure><h4>some:</h4><p>Adding the keyword <em>some</em> in front of a return type indicates that the return type is <em>opaque</em>. For a detailed explanation of some, you can check <a href="https://medium.com/@PhiJay/whats-this-some-in-swiftui-34e2c126d4c4">this</a> medium block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*jEVjG10k5UE6HQc1qtdqhg.png" /></figure><h4>func:</h4><p>In swift <em>func </em>is the keyword used for defining functions. Functions could be without Parameters or with parameters. Here is a code snippet for your reference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*d0iusoMIT5UoonTL8JjJQQ.png" /></figure><h3>Classes</h3><h4>View:</h4><p>A type that represents part of your app’s user interface and provides modifiers that you use to configure views. You create custom views by declaring types that conform to the View protocol. Implement the required <a href="https://developer.apple.com/documentation/swiftui/view/body-swift.property">body</a> computed property to provide the content for your custom view.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*ljdj1crIF6emfkbEPUVCMQ.png" /></figure><h4>HStack:</h4><p>HStack is nothing but a view that arranges its children in a horizontal line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*00hjOXPO4yHToJXP0XLj0w.png" /></figure><h4>VStack:</h4><p>VStack is a view that arranges its children in a vertical line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*w-F005LUcCv8VjXKUSQ8Iw.png" /></figure><h4>HStack:</h4><p>HStack is a view that overlays its children, aligning them in both axes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*mrLMcFrnU6CSpJt-DwqfRw.png" /></figure><h4>Image:</h4><p>A view that displays an image. Use an <em>image</em> instance when you want to add images to your SwiftUI app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*CB1rW4hjRgqsFXZd5_KOgA.png" /></figure><h4>Text:</h4><p>A view that displays one or more lines of read-only text. A text view draws a string in your app’s user interface using a <a href="https://developer.apple.com/documentation/swiftui/font/body">body</a> the font that’s appropriate for the current platform. You can choose a different standard font, like <a href="https://developer.apple.com/documentation/swiftui/font/title">title</a> or <a href="https://developer.apple.com/documentation/swiftui/font/caption">caption</a>, using the <a href="https://developer.apple.com/documentation/swiftui/view/font(_:)">font(_:)</a> view modifier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*H1sAg7zdwjq8VIE5uEN7nA.png" /></figure><h4>Spacer:</h4><p>A flexible space that expands along the major axis of its containing stack layout, or on both axes if not contained in a stack. A spacer creates an adaptive view with no content that expands as much as it can.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*1FkXPaqy2AnYS4LXC7g_SA.png" /></figure><h4>Group:</h4><p>Use a group to collect multiple views into a single instance, without affecting the layout of those views, like an <a href="https://developer.apple.com/documentation/swiftui/hstack">HStack</a>, <a href="https://developer.apple.com/documentation/swiftui/vstack">VStack</a>, or <a href="https://developer.apple.com/documentation/swiftui/section">Section</a> would. After creating a group, any modifier you apply to the group affects all of that group’s members.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*JIRHbzJ1VMLsPJN2rkhF1Q.png" /></figure><h4>TabView:</h4><p>A view that switches between multiple child views using interactive user interface elements. To create a user interface with tabs, place views in a TabView and apply the <a href="https://developer.apple.com/documentation/swiftui/view/tabitem(_:)">tabItem(_:)</a> modifier to the contents of each tab. On iOS, you can also use the View/badge(_:) modifier to assign a badge to each of the tabs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*2bt5JOjJ2IVGyLbLCDE2sQ.png" /></figure><h4>Slider:</h4><p>A slider consists of a “thumb” image that the user moves between two extremes of a linear “track”. The ends of the track represent the minimum and maximum possible values. As the user moves the thumb, the slider updates its bound value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*5qxrfPz_y2ZFESJpNJ_56A.png" /></figure><h4>Map:</h4><p>A view that displays an embedded map interface. A map view displays a region. Use this native SwiftUI view to optionally configure user-allowed interactions, display the user’s location, and track location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*iX50FcMlwVSKTG3gn9oxPA.png" /></figure><h4>GroupBox:</h4><p>Use a group box when you want to visually distinguish a portion of your user interface with an optional title for the boxed content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*Qw6V-ckpNqzdqqq5KX49cw.png" /></figure><h4>Divider:</h4><p>The Divider is nothing but a visual element that can be used to separate other content. You can see its implementation in the above code snippet.</p><h4>Link:</h4><p>Link is a control for navigating to a URL. You create a link by providing a destination URL and a title. The title tells the user the purpose of the link, which can be either a string or a title key that returns a localized string used to construct a label displayed to the user in your app’s UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*y1rcHo8_C8TRvW7uOZEkyg.png" /></figure><h4>Circle:</h4><p>A circle is centered on the frame of the view containing it. The circle’s radius equals half the length of the frame rectangle’s smallest edge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*Xx5OitvILC4wMV9IZcscfw.png" /></figure><h4>ScrollView:</h4><p>The scroll view displays its content within the scrollable content region. As the user performs platform-appropriate scroll gestures, the scroll view adjusts what portion of the underlying content is visible. ScrollView can scroll horizontally, vertically, or both, but does not provide zooming functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*sHWQU2SZ2rtzixQAhqzqOQ.png" /></figure><h4>List:</h4><p>A container that presents rows of data arranged in a single column, optionally providing the ability to select one or more members.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*zICe3vk1P139426G0Evduw.png" /></figure><h4>NavigationView:</h4><p>Use a NavigationView to create a navigation-based app in which the user can traverse a collection of views. Users navigate to a destination view by selecting a <a href="https://developer.apple.com/documentation/swiftui/navigationlink">NavigationLink</a> that you provide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*8CcYRQQts3tFGPFHltlclA.png" /></figure><p><strong>Thanks for reading</strong>. If you found this helpful, please share it with your friends.</p><p>You can find the full code <a href="https://github.com/neerajmaurya250/download_on_isolate_thread">here</a>.</p><blockquote>Did I get something wrong? Mention it in the comments. I would love to improve.<br>If you liked what you read, please leave some claps!</blockquote><h3>GoodBye</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*n3SefZh8LqE9RxlqSzlAhQ.gif" /></figure><p><strong>Thanks for reading.</strong> If you found this article to be helpful please share it with your friends.</p><p><strong><em>For more about flutter, follow </em></strong><a href="https://medium.com/@neeraj.mobcoder"><strong><em>me</em></strong></a><strong><em>, so you’ll get notified when I write new posts.</em></strong></p><h3>To know more about me, visit :</h3><p><a href="https://about.me/nmaurya/getstarted">https://about.me/nmaurya</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fccfc5bc16ac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swiftui-forum/getting-started-with-swiftui-ios-development-fccfc5bc16ac">Getting started with SwiftUI: iOS Development</a> was originally published in <a href="https://medium.com/swiftui-forum">SwiftUI Forum</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>