intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 225 forks source link

Implementation of layout proxy for adding the constraints easily #162

Closed badrinathvm closed 5 years ago

badrinathvm commented 5 years ago

this provides a convenient way of adding constraints to view.

 stackView.layout {
            $0.leading == view.leadingAnchor
            $0.trailing == view.trailingAnchor
            $0.top == view.topAnchor
            $0.bottom == view.bottomAnchor
        }
croossin commented 5 years ago

I am concerned that Layouts/LayoutProxy.swift is not in the correct project directory and thus why it may not be building successfully.

badrinathvm commented 5 years ago

Moved to Utilities and build passed.