MihaelIsaev / UIKitPlus

🏰 Declarative UIKit with LivePreview for iOS9+ (best alternative to SwiftUI)
MIT License
596 stars 35 forks source link

Constraints won't apply for views added in some specific order #1

Closed MihaelIsaev closed 4 years ago

MihaelIsaev commented 5 years ago

Steps to reproduce:

1) declare some view1 2) then declare view2 which have relative constraint to view1 3) add first view2, then view2

Result: relative constraint between view1 and view2 is not applied

Expected result: declared constraints should work as expected

MihaelIsaev commented 5 years ago

Workaround: First add view1 then view2