์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 31 |
- Xcode
- swift
- ํ๋ก๊ทธ๋๋จธ์ค
- ๋ฐฑ์ค
- MVVM
- Kuring
- realm
- Lv2
- RxSwift
- ios
- tableView
- UIKit
- visionOS
- BOJ
- Flutter
- reactorkit
- node.js
- CollectionView
- SwiftUI
- SnapKit
- ํจ์คํธ์บ ํผ์ค
- designpattern
- TCA
- combine
- XCTest
- Swfit
- rxcocoa
- raywenderlich
- arkit
- BFS
- Today
- Total
๋ชฉ๋กConfiguration (2)
lgvv98
ButtonStyle โ ๋ฒํผ ์คํ์ผ์ ๋ํด์ ์์๋ณด์ ์ด๊ฑด ์ง์ง ์ด๋ ต์ง๊ฐ ์๋ค. ์ ๋ง์ ๋ง E A S Y ํด ! Configuration์ ์์๋ฐ์ ๋ค์ด์ค๋ ๊ฒ์ ์ํ๋ฅผ ๋ฐ์์ ์ฐ๋๊ฒ โ MyBlurButtonStyle import SwiftUI struct MyBlurButtonStyle: ButtonStyle { var color : Color // Configuration ์์์ ์์๋ฐ๋ ์์ฑ ๊ทธ๋๋ก ์ฌ์ฉํ ์ ์๊ฒ ํด์ค func makeBody(configuration: Configuration) -> some View { configuration .label .font(.system(size: 20)) .foregroundColor(Color.white) .padding() .background..
UIButton SystemIamge ํฌ๊ธฐ ์กฐ์ โ ๋ฒํผ์ ์ด๋ฏธ์ง๋ฅผ ๋ฃ์ ํ์ ํฌ๊ธฐ ์กฐ์ ํ๋ ์ฝ๋๋ฅผ ์์๋ณด์. โ ์ฝ๋ let taskAddButton: UIButton = { let button = UIButton() let imageConfig = UIImage.SymbolConfiguration(pointSize: 30, weight: .light) let image = UIImage(systemName: "plus", withConfiguration: imageConfig) button.setImage(image, for: .normal) button.tintColor = .white button.layer.cornerRadius = 27.5 button.backgroundColor = #colo..