Skip to content

Conversation

@thingineeer
Copy link
Collaborator

🌱 작업한 내용

  • CourseEditVC 에 있는 UITextField 에서 커서위치가 초기화 되는 이슈 해결

🌱 PR Point

  • PR Point 1
// 커서 위치 저장
let selectedRange = textView.selectedRange

let attributedString = NSMutableAttributedString(string: textView.text)
attributedString.addAttribute(.paragraphStyle, value: paragraphStyle, range: NSMakeRange(0, attributedString.length))

textView.attributedText = attributedString
textView.font = .b3
textView.textColor = .g1

// 커서 위치 다시 설정
textView.selectedRange = selectedRange

📸 스크린샷

구현 내용 스크린샷
textViewDidChange 함수 수정
default.mov

📮 관련 이슈

x

@thingineeer thingineeer merged commit 1cd4336 into Runnect:develop Aug 17, 2023
@thingineeer thingineeer deleted the #173-코스업로드TextView수정 branch August 17, 2023 06:44
@thingineeer thingineeer changed the title [Fix]: #173 - 코스수정 UITextView 커서 문제 해결 [Fix] #173 - 코스수정 UITextView 커서 문제 해결 Aug 21, 2023
lee-yeonwoo pushed a commit to lee-yeonwoo/Runnect-iOS that referenced this pull request Aug 26, 2023
lee-yeonwoo pushed a commit to lee-yeonwoo/Runnect-iOS that referenced this pull request Aug 26, 2023
@thingineeer thingineeer self-assigned this Sep 25, 2023
@thingineeer thingineeer added the UX label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants