Skip to content

[feat/MAT-361] 네이티브 스타일러스 입력 (iOS)#303

Open
b0nsu wants to merge 1 commit intorefactor/mat-360-input-eraserfrom
refactor/mat-361-native-stylus
Open

[feat/MAT-361] 네이티브 스타일러스 입력 (iOS)#303
b0nsu wants to merge 1 commit intorefactor/mat-360-input-eraserfrom
refactor/mat-361-native-stylus

Conversation

@b0nsu
Copy link
Copy Markdown
Collaborator

@b0nsu b0nsu commented Apr 30, 2026

Summary

iOS Apple Pencil 네이티브 입력을 위한 Fabric 컴포넌트(StylusInputView)와 PencilGestureRecognizer를 추가합니다.
coalesced touch(240Hz) 지원으로 입력 정밀도를 높입니다.

Stacked PR 6/10 — base: refactor/mat-360-input-eraser

Linear

Changes

  • ios/PencilGestureRecognizer.h/.m — Apple Pencil 제스처 인식기
  • ios/StylusInputView.h/.mm — Fabric 네이티브 컴포넌트
  • src/input/nativeStylusAdapter.tsx — 네이티브 스타일러스 어댑터
  • src/specs/StylusInputViewNativeComponent.ts — codegen spec
  • package.json codegenConfig 추가, podspec 생성

Testing

  • pnpm typecheck 통과
  • pnpm lint 통과

Risk / Impact

  • 영향 범위: iOS 네이티브 레이어 추가
  • 확인이 필요한 부분: iOS 빌드, StylusInputView 컴포넌트 등록, Apple Pencil 입력
  • 배포 시 유의사항: iOS pod install 필요

- ios/PencilGestureRecognizer.h/.m: Apple Pencil 제스처 인식기 (coalesced/predicted touches)
- ios/StylusInputView.h/.mm: Fabric 네이티브 컴포넌트 (터치 캡처 + 이벤트 발행)
- src/specs/StylusInputViewNativeComponent.ts: codegen 스펙
- src/input/nativeStylusAdapter.tsx: 네이티브 터치 이벤트 → DrawingInputCallbacks 변환
- pointer-native-drawing.podspec: iOS 15.1, Fabric 컴포넌트
- package.json: codegenConfig, files에 ios 추가

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear Bot commented Apr 30, 2026

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pointer-admin Ready Ready Preview, Comment Apr 30, 2026 11:52am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant