nsomar / OAStackView

Porting UIStackView to iOS 7+
MIT License
2.14k stars 200 forks source link

`arrangedSubviews` is not behaving as expected. #78

Closed mojtabacazi closed 4 years ago

mojtabacazi commented 8 years ago

From Apple's doc:

The stack view ensures that the arrangedSubviews array is always a subset of its subviews array. Therefore, whenever the addArrangedSubview: method is called, the stack view adds the view as a subview, if it is not already. Whenever an arranged view’s removeFromSuperview method is called, the stack view removes the view from its arrangedSubview array.

atkit commented 8 years ago

I've just found it to be true.