For example:
Text("Hello")
.frame(width: 100, height: 60)
.font(Font.custom("Times New", size: 36.0))
What are the units of the 100 and 60? If they mean 100 and 60 points, how is that device independent? If not points, what are they?
I'm trying to learn how to place an item (like a Text or a Button) at a fractional position within the view. For example how to center an item at 40% of the view's height down from the top. My first thought was that they might be fractions of the containing view but that appears to be wrong.