Chapter 8: Constraint equation


Great book!

I’m reading the book and I’m confused because I think the following equation

Superview.CenterX = 1.0 * UILabel.CenterX + 0.0

should be:

UILabel.CenterX = 1.0 * Superview.CenterX + 0.0

since the label is the first item and the menu bar is the second,

Thanks in advance,


@misael23 Thank you for the heads up - much appreciated! I will forward this to the book team and they will definitely fix this in the next version of the book.

This topic was automatically closed after 166 days. New replies are no longer allowed.