Category for NSLayoutConstraint allowing one call for both horizantal and vertical Visual Formatting Language
[NSLayoutConstraint constraintsWithCombinedVisualFormat:@"H:|[myView]| V:|[myView]|" views:@{@"myView" : someView}]];
- Add as submodule:
cd your/project/submodules/
git submodule add https://github.com/dannyshmueli/NSLayoutConstraint-CombinedVFL.git
- Add the .h and .m to your Xcode project