Here's the cheatsheet:
frame
is where the view is (with respect to the superview)bounds
is where the view is allowed to draw (with respect to itself)
Also, 40 minutes and 50 seconds into the "4. Views (October 6, 2011) - HD" lecture by Stanford, discusses the difference in depth using a drawing which really helps.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.