Using Cartography, you can set up your Auto Layout constraints in declarative code and without any stringly typing! Call the constrain* function with your UIView or NSView instances as well as a closure in which you declare the constraints between the different attributes of your views. For every view on the left hand side of an equality or inequality operator, Cartography will automatically set its translatesAutoresizingMaskIntoConstraints property to false. If the view is not controlled by you–for example if it belongs to a Apple-provided UIViewController class–you should take appropriate care when declaring its constraints. You can capture multiple constraints in a group to then replace them with new constraints at a later point. Cartography supports all built-in attributes as of iOS 8 and OS X 10.9.

Features

  • Supports convenient compound attributes that allow you to assign multiple attributes at once
  • Set up your Auto Layout constraints in declarative code and without any stringly typing!
  • Integrate Cartography into your Xcode project using CocoaPods
  • You can capture multiple constraints in a group
  • Supports all built-in attributes as of iOS 8 and OS X 10.9
  • Distribute multiple views, either horizontally or vertically

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Cartography

Cartography Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Cartography!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2021-08-03