hitTest:withEvent: return value should be nullable

This commit is contained in:
Adlai Holler
2015-09-16 16:21:07 -07:00
parent a7240bac27
commit e4dc823c0d
2 changed files with 2 additions and 2 deletions

View File

@@ -63,4 +63,4 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@@ -361,7 +361,7 @@ NS_ASSUME_NONNULL_BEGIN
* 1) allows sending events to plain UIViews that don't have attached nodes, * 1) allows sending events to plain UIViews that don't have attached nodes,
* 2) hitTest: is never called before the views are created. * 2) hitTest: is never called before the views are created.
*/ */
- (UIView *)hitTest:(CGPoint)point withEvent:(nullable UIEvent *)event; - (nullable UIView *)hitTest:(CGPoint)point withEvent:(nullable UIEvent *)event;
/** @name Observing node-related changes */ /** @name Observing node-related changes */