[code]“nameLabel.leading = superview.leading + 8
nameField.leading = nameLabel.trailing + 8
nameField.trailing = superview.trailing - 8”
Excerpt From: Keur, Christian. “iOS Programming: The Big Nerd Ranch Guide (4th Edition) (Big Nerd Ranch Guides).” iBooks. [/code]
Let me know if I’m from,
nameLabel.leading is the left space between the left edges of nameLabel to the left edges of the self.view.
if so where is superview.leading?
is it the left edges of the self.view also?
if so the distance between this 2 is 20 not 8.
Please explain preferably graphical explanation.