(Re?)add type annotations on touchesBegan:withEvent: et al

This commit is contained in:
Adlai Holler
2015-11-13 12:11:24 -08:00
parent 762be97a51
commit 7922895b60
2 changed files with 8 additions and 8 deletions

View File

@@ -307,7 +307,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param touches A set of UITouch instances.
* @param event A UIEvent associated with the touch.
*/
- (void)touchesBegan:(NSSet *)touches withEvent:(nullable UIEvent *)event;
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event;
/**
* @abstract Tells the node when touches moved in its view.
@@ -315,7 +315,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param touches A set of UITouch instances.
* @param event A UIEvent associated with the touch.
*/
- (void)touchesMoved:(NSSet *)touches withEvent:(nullable UIEvent *)event;
- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event;
/**
* @abstract Tells the node when touches ended in its view.
@@ -323,7 +323,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param touches A set of UITouch instances.
* @param event A UIEvent associated with the touch.
*/
- (void)touchesEnded:(NSSet *)touches withEvent:(nullable UIEvent *)event;
- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event;
/**
* @abstract Tells the node when touches was cancelled in its view.
@@ -331,7 +331,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param touches A set of UITouch instances.
* @param event A UIEvent associated with the touch.
*/
- (void)touchesCancelled:(NSSet *)touches withEvent:(nullable UIEvent *)event;
- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event;
/** @name Managing Gesture Recognizers */