Skip to content

Commit 5a4c7fd

Browse files
authored
remove warning
remove warning
1 parent 02eba9f commit 5a4c7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YYText/Utility/YYTextUtilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ static inline CGFloat YYTextCGAffineTransformGetTranslateY(CGAffineTransform tra
290290
291291
@see http://stackoverflow.com/questions/13291796/calculate-values-for-a-cgaffinetransform-from-three-points-in-each-of-two-uiview
292292
*/
293-
CGAffineTransform YYTextCGAffineTransformGetFromPoints(CGPoint before[3], CGPoint after[3]);
293+
CGAffineTransform YYTextCGAffineTransformGetFromPoints(CGPoint before[_Nullable 3], CGPoint after[_Nullable 3]);
294294

295295
/// Get the transform which can converts a point from the coordinate system of a given view to another.
296296
CGAffineTransform YYTextCGAffineTransformGetFromViews(UIView *from, UIView *to);

0 commit comments

Comments
 (0)