자간, 행간 (Extension UILabel)
먼저 행간 설정입니다. // 행간 extension UILabel { func setLineSpacing(ratio: Double) { let style = NSMutableParagraphStyle() let lineheight = self.font.pointSize * ratio //font size * multiple style.minimumLineHeight = lineheight style.maximumLineHeight = lineheight self.attributedText = NSAttributedString( string: self.text ?? "", attributes: [ .paragraphStyle: style ]) } } extension UILabel { func setLin..
iOS & swift
2023. 12. 9. 19:25
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- readysay
- swift urlsession network module
- swift urlcomponent encode
- rag 기반 llm
- swift 엑셀 읽기
- focus timer 어플
- rag llm pdf
- swift urlsession 공통화
- swift network refactoring
- swift get excel
- filemanager excel read
- swift 네트워크 모듈화
- swift filemanager get excel
- swift network module
- swift urlsession refactoring
- swift excel read
- 엔디소프트 레이세이
- swift filemanager excel
- swift queryitem encode
- llm csv
- llm pdf rag
- swift network 공통화
- 공부 타이머 어플
- chatgpt rag llm
- rag 기반 llm 챗봇
- swift urlsession module
- swift 자간
- 레디세이 어플
- 레디세이
- swift 엑셀 가져오기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함