SwiftUI Stack View Tutorial
iOScreator
by Arthur Knopper
2y ago
Stack Views in SwiftUI can be used to compose layouts.. In this tutorial a vertical stack(VStack) and a horizontal stack(HStack) will be displayed. This tutorial is built for iOS15 and Xcode 13, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, In the Application section select the App template, and then click Next. Enter SwiftUIStackViewTutorial as the Product Name, select the Use SwiftUI checkbox, and click Next. Cho ..read more
Visit website
SwiftUI Preview Orientation Tutorial
iOScreator
by Arthur Knopper
2y ago
in SwiftUI the preview can be displayed with different orientation using the previewInterfaceOrientation() modfier.. In this tutorial the preview will be displayed with the four different oriientations. portrait, portraitUpsideDown, landscapeLeft and landscapeRight. This tutorial is built for iOS15 and Xcode 13, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and then cli ..read more
Visit website
SwiftUI Custom Swipe Actions Tutorial
iOScreator
by Arthur Knopper
2y ago
in SwiftUI a custom swipe action can be displayed when an row on a List is swiped. The action can be displayed left or right and can be displayed with a custom tint color and a system image.. In this tutorial some swipe actions can be triggered which will update the navigation title. This tutorial is built for iOS15 and Xcode 13, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application se ..read more
Visit website
SwiftUI Search Bar Tutorial
iOScreator
by Arthur Knopper
3y ago
in SwiftUI a Search Bar can be displayed inside a List using the searchable modifier. When using the Search Bar the results will be displayed automatically. In this tutorial a list of countries is displayed and can be searched.This tutorial is built for iOS15 and Xcode 13, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and then click Next. Enter SwiftUISearchBarTutorial ..read more
Visit website
SwiftUI Pull to Refresh Tutorial
iOScreator
by Arthur Knopper
3y ago
The Pull to Refresh functionality can be used to refresh contents of a List by pulling down. SwiftUI introduced the refreshablel() modifier. In this tutorial a JSON file will be fetched from the internet and displayed in a list when the pull to refresh is initiated..This tutorial is built for iOS15 and Xcode 13, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and then cli ..read more
Visit website
SwiftUI 3D Rotation Tutorial
iOScreator
by Arthur Knopper
3y ago
The rotation3DEffect modifier rotates a view in 3D. The angle of the rotation can be set by the degrees parameter. In this tutorial a button will be rotated on the X-, Y- or Z-axis using Toggle Views. This tutorial is built for iOS14 and Xcode 12, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and then click Next. Enter SwiftUI3DRotationTutorial as the Product Name, sel ..read more
Visit website
SwiftUI Background Color List Tutorial
iOScreator
by Arthur Knopper
3y ago
The background color of items inside a List view can be changes using the .listRowBackground modifier. In this tutorial a list is displayed with alternate colors. This tutorial is built for iOS14 and Xcode 12, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and then click Next. Enter SwiftUIListBackgroundColorTutorial as the Product Name, select SwiftUI as Interface, Swi ..read more
Visit website
SwiftUI ScrollViewReader tutorial
iOScreator
by Arthur Knopper
3y ago
In SwiftUI a ScrollViewReader is a view that provides programmatic scrolling inside sub views. With the scrollTo method the scrolling is executed. In his tutorial an item number can be chosen using a stepper. When the number is selected the ScrollViewReader will scroll to the chosen item. This tutorial is built for iOS 14 and Xcode 12, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Applicat ..read more
Visit website
SwiftUI Rotation Anchor Point Tutorial
iOScreator
by Arthur Knopper
3y ago
In SwiftUI the rotationEffect method will rotate the view around a specific point which is called the anchor point. By default the anchor point is set to the the center point, but can be modified. In this tutorial some rectangles will be rotated at a different anchor point. This tutorial is built for iOS14 and Xcode 12, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and ..read more
Visit website
SwiftUI Popover Tutorial
iOScreator
by Arthur Knopper
3y ago
In SwiftUI Popover can be attached to a view to display some content. On a iPhone the popover is presented as a Sheet and on an iPad it is presentd like a ContextMenu. In this tutorial a button is displayed which will present a popover when clicked. This tutorial is built for iOS14 and Xcode 12, which can be download at the Apple developer portal. Open Xcode and either click Create a new Xcode project in Xcode’s startup window, or choose File > New > Project. In the template selector, select iOS as the platform, select App template in the Application section and then click Next. Enter S ..read more
Visit website

Follow iOScreator on FeedSpot

Continue with Google
Continue with Apple
OR