What did I learn

  • About
  • Tags

Working with the state in SwiftUI

June 10, 2020

In the previous articles, we took a look at how to arrange view and create buttons. That helps us to build the user interface for our mobile apps. That won’t be a reach interface, but that just the beginning.

The mobile apps don’t only operate with static data. They are also getting data from a user and provide some data back.

Now, a mobile app should be able to hold data somewhere and be able to amend it.

In this article, we are going to learn about a state.

Continue reading
SwiftUI Swift

SwiftUI: Buttons

May 16, 2020

Until now, we were learning about SwiftUI views that are static and don’t require actions from users.

Today we start learning how we can make apps more interactive. So we are going to start with the buttons.

Continue reading
SwiftUI Swift

SwiftUI: Stacks alignment

May 1, 2020

In the previous article, we took a look at stacks and learned how to arrange SwiftUI views.

We’ve learned that VStack renders subviews vertically, and HStack - horizontally. What we also could notice that all subviews inside the stack are centered.

In this article, we are going to learn how to to change the alignment of subviews.

Continue reading
SwiftUI Swift

SwiftUI: Arranging layout with stacks

April 25, 2020

A user interface of a mobile application is built from different small parts. All together, they form a single piece, with which users can interact.

To build such an interface using SwiftUI, we need to arrange smaller views in one way or another.

In this article, we are going to learn how to achieve that.

Continue reading
SwiftUI Swift

SwiftUI first steps

April 8, 2020

In Summer 2019, at WWDC, Apple announced SwiftUI. The framework that changes the way we can build interfaces for iOS applications.

In this article, we are going to figure out what is SwiftUI and what it is not.

Continue reading
SwiftUI Swift
Older

Powered by Jekyll with Type Theme