Skip to content
Augmented Code

Augmented Code

Performant, sleek and elegant.

  • Home
  • Drifty Asteroid
  • Signal Path
  • Blog
  • Contact
  • About

Tag: Picker

Posted on June 21, 2020August 16, 2020

Picker and segmented control in SwiftUI on iOS

Picker is used for presenting a selection consisting of multiple options. UISegmentedControl which is known from UIKit is just a different picker style in SwiftUI. Let's take a quick look on how to create a form with two items: picker with default style and picker with segmented style. Creating a from Form should be typically …

Continue reading "Picker and segmented control in SwiftUI on iOS"

Posted on January 5, 2020August 16, 2020

MVVM in SwiftUI

mvvm-sample-app

Let's build a simple app using MVVM (model-view-view model) where every SwiftUI view has its own view model. It's going to be an app with two views: list of movies and add a movie view what utilises Form view. Added movies are stored in MovieStore which is shared by the two view models. We will …

Continue reading "MVVM in SwiftUI"

  • Facebook
  • Twitter
  • LinkedIn
  • Email
Blog at WordPress.com.
Cancel