blob: 7678ccf2852cf4a01ed023f992b31f1fa916fba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//
// SDLHapticHitTester.h
// SmartDeviceLink-iOS
//
// Copyright © 2017 smartdevicelink. All rights reserved.
//
#import <UIKit/UIKit.h>
@class SDLTouch;
NS_ASSUME_NONNULL_BEGIN
@protocol SDLHapticHitTester <NSObject>
/**
Determines which view was selected based on SDLTouch object. If no view gets matched null value will be returned.
@param touch SDLTouch which has touch coordinates
@return matched UIView object or null
*/
- (nullable UIView *)viewForSDLTouch:(SDLTouch *)touch;
@end
NS_ASSUME_NONNULL_END
|