0.01
No commit activity in last 3 years
No release in over 3 years
Simple gem to cleanup all your storyboard and xib files from useless constraints. Are you tired from uncountable constraints you don't need anymore? Xcode's interface builder thinks it's smart enough and keep all constraints you remove in case you want use them with `Size Classes`, but in most cases you just don't want it anymore! If you use some constraint for `Size Classes` it will not be removed! Constraints removed only if they are really useless.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

~> 0.7
~> 1.6
 Project Readme

KOConstraintClean

Simple gem to cleanup all your storyboard and xib files from useless constraints. Are you tired from uncountable constraints you don't need anymore? Xcode's interface builder thinks it's smart enough and keep all constraints you remove in case you want use them with Size Classes, but in most cases you just don't want it anymore!

If this what you see pretty often in your projects:

Output sample

then you definitely want to use KOConstraintClean to get this result in one click:

Output sample

If you use some constraint for Size Classes it will not be removed! Constraints removed only if they are really useless.

Installation

Just execute install command in terminal

$ gem install constraintClean

Usage

In your terminal navigate to your project directory:

$ cd YourProjectDirectory

And run

$ constraintClean

This is it! Now all your storyboard and xib files are pretty again!

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kohtenko/KOConstraintClean.

License

The gem is available as open source under the terms of the MIT License.