jweinberg/JWLayoutViews — pull request #5 by humblehacker (2012-11-15 22:13:16+00:00)
Title: make attributes relative to a superview's bounds

To vertically center a view on its superview, I should be able to specify (in pseudo-code):

view("button").midY = view(nil).midY

but since the current code uses the superview's frame rather than its bounds, this results in the subview being pushed clear off of its superview.

If I'm misunderstanding how this should work, let me know. Otherwise, please accept!