Преглед на файлове

Merge pull request #651 from CodeEagle/patch-1

remove warning
Yaoyuan преди 8 години
родител
ревизия
bbb9601d35
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      YYText/Utility/YYTextUtilities.h

+ 1 - 1
YYText/Utility/YYTextUtilities.h

@@ -290,7 +290,7 @@ static inline CGFloat YYTextCGAffineTransformGetTranslateY(CGAffineTransform tra
  
  @see http://stackoverflow.com/questions/13291796/calculate-values-for-a-cgaffinetransform-from-three-points-in-each-of-two-uiview
  */
-CGAffineTransform YYTextCGAffineTransformGetFromPoints(CGPoint before[3], CGPoint after[3]);
+CGAffineTransform YYTextCGAffineTransformGetFromPoints(CGPoint before[_Nullable 3], CGPoint after[_Nullable 3]);
 
 /// Get the transform which can converts a point from the coordinate system of a given view to another.
 CGAffineTransform YYTextCGAffineTransformGetFromViews(UIView *from, UIView *to);