Committed by
GitHub
Merge pull request #444 from russellquinn/master
[Better] Fix Xcode 9 warnings
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -62,21 +62,21 @@ | @@ -62,21 +62,21 @@ | ||
62 | 62 | ||
63 | #pragma mark - MASLayoutPriority proxies | 63 | #pragma mark - MASLayoutPriority proxies |
64 | 64 | ||
65 | -- (MASConstraint * (^)())priorityLow { | 65 | +- (MASConstraint * (^)(void))priorityLow { |
66 | return ^id{ | 66 | return ^id{ |
67 | self.priority(MASLayoutPriorityDefaultLow); | 67 | self.priority(MASLayoutPriorityDefaultLow); |
68 | return self; | 68 | return self; |
69 | }; | 69 | }; |
70 | } | 70 | } |
71 | 71 | ||
72 | -- (MASConstraint * (^)())priorityMedium { | 72 | +- (MASConstraint * (^)(void))priorityMedium { |
73 | return ^id{ | 73 | return ^id{ |
74 | self.priority(MASLayoutPriorityDefaultMedium); | 74 | self.priority(MASLayoutPriorityDefaultMedium); |
75 | return self; | 75 | return self; |
76 | }; | 76 | }; |
77 | } | 77 | } |
78 | 78 | ||
79 | -- (MASConstraint * (^)())priorityHigh { | 79 | +- (MASConstraint * (^)(void))priorityHigh { |
80 | return ^id{ | 80 | return ^id{ |
81 | self.priority(MASLayoutPriorityDefaultHigh); | 81 | self.priority(MASLayoutPriorityDefaultHigh); |
82 | return self; | 82 | return self; |
-
Please register or login to post a comment