Make a UIView or it's subviews hide or unhide and automatically hide it's associate constraints (UIView 或者它的子类,自动隐藏并且可控的收起他相关联的约束)

We have a cell like this, and tags line is mutable, maybe just have tag1 and tag3, tag2 and tag4 is hide, maybe others. we should hide tag2 and right constraint, hide test4 and left constraint。so you can use this repository。
(如果我们有一个类似于上边图示的cell, 其中tags 一行是可变的,也就是说tags是不固定的, 可能只有tag1 和 tag3, 其中tag2 和 tag4 是隐藏, 我们为了保证间距,我们需要隐藏tag2 的同时,应该将其宽度 & 右边距的约束也隐藏掉,同理tag4 隐藏的同时应该将其宽度&左边距隐藏)

(在比如,我们有如上一个页面,view2 是动态的,也就是说view2 可能会隐藏,那么为了保证页面的间距,我们需要隐藏view2 的同时将其高度 & 下边距或者上边距也隐藏掉。)
- pod 'HRViewVisible', '~> 1.0.0'
HRViewVisible is available under the MIT license. See the LICENSE file for more info.