SwiftUI Segmented Control Tutorial

SwiftUI Segmented Control Tutorial

A segmented control is a set of two or more segments, each of which functions as a mutually exclusive button. In this tutorial a segmented control will be displayed and a text view will be updated with the contents of the selected segment . SwiftUI requires Xcode 11 and MacOS Catalina, for which the Betas can be downloaded at the Apple developer portal.

Read More

Segmented Control iOS Tutorial

Segmented Control iOS Tutorial

A segmented control is a set of two or more segments, each of which functions as a mutually exclusive button. Within the control, all segments are equal in width. In this tutorial we create 2 segments inside a UISegmentedController. Each segment will display a different text value on a label. This tutorial is made with Xcode 10 and built for iOS 12.

Read More