Programming With Swift
  • Home
  • About
  • Github
Sign in Subscribe

Frame

A collection of 2 posts
How to make SwiftUI view fill width or height of screen
SwiftUI

How to make SwiftUI view fill width or height of screen

In this tutorial I will show you how to make a view fill the width or height of the parent view or fill the screen. It is often required that a view fill a space, whether it is width, height or both. Luckily for us SwiftUI makes this very easy
10 Sep 2020 3 min read
Difference between Frame and Bounds in Swift
Swift

Difference between Frame and Bounds in Swift

This is a question I have personally asked multiple times during my iOS development career. Today I will go over it, it is quite a simple answer, but there are some caveats to watch out for. > TLDR: Bounds refers to the views own coordinate system while Frame refers to
19 Jan 2020 4 min read
Page 1 of 1
Programming With Swift © 2025
Powered by Ghost