Sfoglia il codice sorgente

Create MASConstraint.h

Fix xcode 9 warnings
teanet 8 anni fa
parent
commit
1b8877a942
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      Masonry/MASConstraint.h

+ 3 - 3
Masonry/MASConstraint.h

@@ -73,17 +73,17 @@
 /**
  *	Sets the NSLayoutConstraint priority to MASLayoutPriorityLow
  */
-- (MASConstraint * (^)())priorityLow;
+- (MASConstraint * (^)(void))priorityLow;
 
 /**
  *	Sets the NSLayoutConstraint priority to MASLayoutPriorityMedium
  */
-- (MASConstraint * (^)())priorityMedium;
+- (MASConstraint * (^)(void))priorityMedium;
 
 /**
  *	Sets the NSLayoutConstraint priority to MASLayoutPriorityHigh
  */
-- (MASConstraint * (^)())priorityHigh;
+- (MASConstraint * (^)(void))priorityHigh;
 
 /**
  *	Sets the constraint relation to NSLayoutRelationEqual