瀏覽代碼

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);