Skip to content

UIComposable을 UIKitTextEditor에 적용한다 - #908

Merged
opficdev merged 2 commits into
developfrom
refactor/#907
Sep 21, 2026
Merged

opficdev merged 2 commits into
developfrom
refactor/#907

Conversation

@opficdev

Copy link
Copy Markdown
Owner

🔗 연관된 이슈

🎯 의도

UIKitTextEditor의 중복된 SwiftUI bridge 구현 제거와 UIComposable 0.2.0 기반 크기 측정 및 포커스 호환성 구성

📝 작업 내용

📌 요약

  • UIComposable 0.2.0의 sizeThatFits 지원 적용
  • 3개 파일에서 120줄 추가, 184줄 제거로 총 64줄 감소
  • UIKitTextEditor.swift에서 85줄 감소

🔍 상세

  • UIKitTextEditor 자체를 UICoordinatedComposable로 구성
  • 기존 intrinsicContentSize, layoutSubviews, 높이 상태 관리 제거
  • sizeThatFits로 제안된 너비에 맞춘 편집기 높이 계산
  • .focused($field, equals: .content) 유지로 SwiftUI 포커스 시스템 호환성 확보
  • UIKit delegate에서 포커스 상태를 먼저 반영해 이전 비동기 상태에 의한 자동 포커스 해제 방지
  • UIComposable 의존성 버전 0.2.0 적용

📸 영상 / 이미지 (Optional)

@opficdev opficdev self-assigned this Sep 21, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-21T09:32:06.372202Z fe8914a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@opficdev
opficdev merged commit f995685 into develop Sep 21, 2026
9 checks passed
@opficdev
opficdev deleted the refactor/#907 branch September 21, 2026 10:23
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.

UIComposable을 UIKitTextEditor에 적용한다

1 participant