Auto-Layout-Demystified icon indicating copy to clipboard operation
Auto-Layout-Demystified copied to clipboard

some mistakes?

Open Mamong opened this issue 11 years ago • 3 comments

chapter 3,exercise 8 answer 8. Describe the results the constraint @"H:|-(-20)-[view1(==50)]" produces. The view’s height is constrained to 50 points. It’s placed 20 points above the top of the view. Only the bottom 30 points of the view extend within its superview.

This statement maybe incorrect,"It’s placed 20 points above the top of the view"。Because the placement of the view is unknown until it has been constrainted already.

chapter 7 p213 the first paragraph below the title,"Table Cells"。 “You see an example of the playback indicator on the fourth row of the table.” it seems the correct statement is,"You see an example of the playback indicator on the second row of the table."

Mamong avatar Jun 29 '14 02:06 Mamong

That H should be V. See the Errata here for C04, Exercise 8: https://github.com/erica/Auto-Layout-Demystified/blob/master/Auto%20Layout%20Errata.txt

— E

On Jun 28, 2014, at 8:50 PM, Mamong [email protected] wrote:

Describe the results the constraint @"H:|-(-20)-[view1(==50)]" produces. The view’s height is constrained to 50 points. It’s placed 20 points above the top of the view. Only the bottom 30 points of the view extend within its superview. This statement maybe not incorrect,"It’s placed 20 points above the top of the view"。Because the placement of the view is known until it has been constrainted already.

— Reply to this email directly or view it on GitHub.

erica avatar Jul 01 '14 16:07 erica

I know this mistake,but that is not my concern.please check my post carefully.I think the correct statement should be,"It’s placed 20 points above the top of view1's superview". And the second issue yet remains to be decided .

Mamong avatar Jul 06 '14 03:07 Mamong

I download the zip file,but which i can not unzip.(Error 2 - No such file or directory.)

wpen avatar Apr 28 '16 07:04 wpen