๋จผ์ ํ๊ฐ ์ค์ ์ ๋๋ค. // ํ๊ฐ 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..

์ด๋ ๊ฒ ๋์์ด๋๊ฐ -3%์ ์์น๋ก ์๊ฐ์ ์คฌ์๋, code๋ก UILabel์ ์๊ฐ์ ์์ ํ๋ ๋ฐฉ๋ฒ์ ๋๋ค. ๋์์ด๋์ ์ฅ์์ ์ด๋ฐ ๋ํ ์ผ์ ์์ฃผ ์ค์์ ํ๊ธฐ๋๋ฌธ์ ๊ฐ๋ฐ์์ ๋์๋ ๋ณ ์ฐจ์ด๊ฐ ์๋๋ผ๋ ๊ทธ๋ฅ ๋์ด๊ฐ ์ ์์ต๋๋ค~ self.font.pointSize ๋ก UILabel๋ง๋ค ๋ค๋ฅธ font ์ฌ์ด์ฆ์ ์ ๊ทผํด์ค ์ ์์ด์. (default๋ -3%) extension UILabel { func addCharacterSpacing(_ value: Double = -0.03) { let kernValue = self.font.pointSize * CGFloat(value) guard let text = text, !text.isEmpty else { return } let string = NSMutableAt..
- Total
- Today
- Yesterday
- ๋ ๋์ธ์ด ์ดํ
- swift network ๊ณตํตํ
- swift urlsession ๊ณตํตํ
- swift urlsession refactoring
- swift excel read
- rag llm pdf
- swift ์๊ฐ
- swift urlcomponent encode
- ๊ณต๋ถ ํ์ด๋จธ ์ดํ
- swift filemanager excel
- swift filemanager get excel
- swift ์์ ์ฝ๊ธฐ
- swift network module
- rag ๊ธฐ๋ฐ llm
- ์๋์ํํธ ๋ ์ด์ธ์ด
- swift network refactoring
- swift get excel
- swift urlsession module
- swift ์์ ๊ฐ์ ธ์ค๊ธฐ
- ๋ ๋์ธ์ด
- llm pdf rag
- rag ๊ธฐ๋ฐ llm ์ฑ๋ด
- chatgpt rag llm
- readysay
- swift ๋คํธ์ํฌ ๋ชจ๋ํ
- filemanager excel read
- llm csv
- focus timer ์ดํ
- swift urlsession network module
- swift queryitem encode
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |