objccn / articles

Articles for objccn.io. objc.io的完整、准确、优雅的中文翻译版本
http://objccn.io/
2.11k stars 431 forks source link

Correct a wrongly translated paragraph about frame and origin in 3-2 #431

Closed ghost closed 8 years ago

ghost commented 8 years ago

Now, recall that every view has a bounds and frame rectangle. When laying out an interface, we deal with the frame rectangle of a view. This allows us to position and size the view. The frame and bounds of a view will commonly have the same size (though transforms can alter this), but their origin will usually differ. Understanding how these two rectangles work is the key to understanding how UIScrollView works.

onevcat commented 8 years ago

Thanks!