목록TextView (2)
study record
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/EqhkL/btsIg8946Hx/fuhbOKK0la3kzLJwCjxUrk/img.png)
떱떱디씨 영상 바로 보러가기 -> https://developer.apple.com/videos/play/wwdc2024/10168/ Get started with Writing Tools - WWDC24 - Videos - Apple DeveloperLearn how Writing Tools help users proofread, rewrite, and transform text in your app. Get the details on how Writing Tools interact with...developer.apple.com 해당 동영상을 요약한 글입니다. Writing Tools 소개Writing Tools는 iOS, iPadOS, macOS의 텍스트 뷰에서 사용할 수 있는 기능 모음이..
// 먼저 행간 조절 스타일 설정 let style = NSMutableParagraphStyle() style.lineSpacing = 10 let attributedString = NSMutableAttributedString(string: textView.text) // 자간 조절 설정 attributedString.addAttribute(NSAttributedString.Key.kern, value: CGFloat(2.0), range: NSRange(location: 0, length: attributedString.length)) // 행간 스타일 추가 attributedString.addAttribute(NSAttributedString.Key.paragraphStyle, value: sty..