Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
Masonry
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Jonathan Sibley
11 years ago
Commit
fd5a65c364a0c0ff44c71ecd27bdfdbfd7ab6ef6
1 parent
74aacec4
Reduce warning when "foundation assertions" disabled
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
Masonry/MASViewConstraint.m
Masonry/MASViewConstraint.m
View file @
fd5a65c
...
...
@@ -191,8 +191,7 @@
[
self
.
delegate
constraint
:
self
shouldBeReplacedWithConstraint
:
compositeConstraint
];
return
compositeConstraint
;
}
else
{
BOOL
layoutConstantUpdate
=
self
.
layoutRelation
==
relation
&&
[
attribute
isKindOfClass
:
NSNumber
.
class
];
NSAssert
(
!
self
.
hasLayoutRelation
||
layoutConstantUpdate
,
@"Redefinition of constraint relation"
);
NSAssert
(
!
self
.
hasLayoutRelation
||
self
.
layoutRelation
==
relation
&&
[
attribute
isKindOfClass
:
NSNumber
.
class
],
@"Redefinition of constraint relation"
);
self
.
layoutRelation
=
relation
;
self
.
secondViewAttribute
=
attribute
;
return
self
;
...
...
Please
register
or
login
to post a comment