Stacks In SwiftUI: IOS Development -Part-2

H-Stack, V-Stack & Z- Stack

H-Stack, V-Stack & Z-Stack in swiftUI
H-Stack, V-Stack & Z-Stack in swiftUI

The word “H-Stack” means horizontal stack it stacks the items next to each other from left to right.

H-Stack in SwiftUI
H-stack and V-Stack in SwiftUI
H-Stack swiftUI

Padding is used to create space around an element’s content, inside of any defined borders.

V-Stack in SwiftUI

The word “V-Stack” means vertical stack it stacks the items on a vertical line from top to bottom

V-Stack in SwiftUI
V-Stack in SwiftUI
V-Stack in SwiftUI
Z-Stack in SwiftUI
Z-Stack SwiftUI

Z-axis is the third axis, usually representing depth, of a three-dimensional grid, chart, or graph

Z-Stack in SwiftUI
Z-Stack

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Umair Ishrat Khan

Umair Ishrat Khan

154 Followers

An energetic and motivated individual IOS developer/ Data Science Practitioner. Apart from computer science Martial arts interests me the most.