Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 633 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 633 Bytes

NSLayoutConstraint-CombinedVFL

Category for NSLayoutConstraint allowing one call for both horizantal and vertical Visual Formatting Language

Usage:

[NSLayoutConstraint constraintsWithCombinedVisualFormat:@"H:|[myView]| V:|[myView]|" views:@{@"myView" : someView}]];

Adding project:

  • 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