|
@@ -327,6 +327,12 @@ static char kInstalledConstraintsKey; |
|
@@ -327,6 +327,12 @@ static char kInstalledConstraintsKey; |
327
|
if (!self.firstViewAttribute.isSizeAttribute && !self.secondViewAttribute) {
|
327
|
if (!self.firstViewAttribute.isSizeAttribute && !self.secondViewAttribute) {
|
328
|
secondLayoutItem = self.firstViewAttribute.view.superview;
|
328
|
secondLayoutItem = self.firstViewAttribute.view.superview;
|
329
|
secondLayoutAttribute = firstLayoutAttribute;
|
329
|
secondLayoutAttribute = firstLayoutAttribute;
|
|
|
330
|
+
|
|
|
331
|
+ if (!secondLayoutItem) {
|
|
|
332
|
+ NSAssert(secondLayoutItem, @"YH_Mall : The secondItem is null or nil !!!!!");
|
|
|
333
|
+ return;
|
|
|
334
|
+ }
|
|
|
335
|
+
|
330
|
}
|
336
|
}
|
331
|
|
337
|
|
332
|
MASLayoutConstraint *layoutConstraint
|
338
|
MASLayoutConstraint *layoutConstraint
|