-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Accepted with Revisions] SDL 0090 - SDLHapticHitTester Protocol #270
Comments
I'm largely in agreement with this proposal. A minor tweak: - (nullable UIView *)viewForSDLTouch:(SDLTouch *_Nonnull)touch; I would propose removing the - (nullable UIView *)viewForTouch:(SDLTouch *_Nonnull)touch; In your section "Out of Scope", you note that this doesn't change anything user facing, but I think we should make those determinations here, as they have to be made. I would also propose changes to the developer facing NS_ASSUME_NONNULL_BEGIN
@protocol SDLTouchManagerDelegate <NSObject>
@optional
- (void)touchManager:(SDLTouchManager *)manager didReceiveSingleTapAtPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager didReceiveDoubleTapAtPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager panningDidStartAtPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager didReceivePanningFromPoint:(CGPoint)fromPoint toPoint:(CGPoint)toPoint;
- (void)touchManager:(SDLTouchManager *)manager panningDidEndAtPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager pinchDidStartAtCenterPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager didReceivePinchAtCenterPoint:(CGPoint)point withScale:(CGFloat)scale;
- (void)touchManager:(SDLTouchManager *)manager pinchDidEndAtCenterPoint:(CGPoint)point;
@end
NS_ASSUME_NONNULL_END and I would propose adding a Perhaps something like this: NS_ASSUME_NONNULL_BEGIN
@protocol SDLTouchManagerDelegate <NSObject>
@optional
- (void)touchManager:(SDLTouchManager *)manager didReceiveSingleTapForView:(_Nullable UIView *)view atPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager didReceiveDoubleTapForView:(_Nullable UIView *)view atPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager panningDidStartInView:(_Nullable UIView *)view atPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager didReceivePanningFromPoint:(CGPoint)fromPoint toPoint:(CGPoint)toPoint;
- (void)touchManager:(SDLTouchManager *)manager panningDidEndInView:(_Nullable UIView *)view atPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager pinchDidStartInView:(_Nullable UIView *)view atCenterPoint:(CGPoint)point;
- (void)touchManager:(SDLTouchManager *)manager didReceivePinchInView:(_Nullable UIView *)view atCenterPoint:(CGPoint)point withScale:(CGFloat)scale;
- (void)touchManager:(SDLTouchManager *)manager pinchDidEndInView:(_Nullable UIView *)view atCenterPoint:(CGPoint)point;
@end
NS_ASSUME_NONNULL_END |
The Steering Committee has voted to accept this proposal with the revisions included in Joel Fischer’s comment. It was noted that the functions included in the changes to the |
@Toyota-BSalahat please advise when a new PR has been entered to update the proposal to reflect the agreed upon revisions. I'll then merge the PR so the proposal is up to date, and enter an issue in the iOS repository for implementation. Thanks! |
Proposal has been revised to include agreed upon changes and issue has been entered: [SDL 0090] SDLHapticHitTester Protocol |
Hello SDL community,
The review of "SDLHapticHitTester Protocol" begins now and runs through September 5, 2017. The proposal is available here:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0090-SDLHapticHitTesterProtocol.md
Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:
#270
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of SDL. When writing your review, here are some questions you might want to answer in your review:
Please state explicitly whether you believe that the proposal should be accepted into SDL.
More information about the SDL evolution process is available at
https://github.com/smartdevicelink/sdl_evolution/blob/master/process.md
Thank you,
Theresa Lech
Program Manager - Livio
theresa@livio.io
The text was updated successfully, but these errors were encountered: