Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- swiftUI
- swift documentation
- Xcode
- 리팩토링
- Observable
- Human interface guide
- HIG
- tableView
- map
- 리펙토링
- SWIFT
- UITextView
- rxswift
- combine
- 클로드코드
- uiscrollview
- collectionview
- Protocol
- 애니메이션
- 클린 코드
- uitableview
- Refactoring
- ios
- claude code
- MVVM
- 스위프트
- Clean Code
- UICollectionView
- RxCocoa
- clean architecture
Archives
- Today
- Total
목록ButtonStytle (1)
김종권의 iOS 앱 개발 알아가기
목차) SwiftUI의 기본 - 목차 링크 Button 개념 Button안에 텍스트를 적고 closure에 액션을 기입 Button("MyButton") { print("did tap") } action을 앞에서 받고 뒤에 Text와 같은 컴포넌트를 넣어서 표출도 가능 색상은 systemBlue가 디폴트로 설정 Button(action: { print("tap button!") }) { Text("MyButton") } action에 클로저로 넣어도 되지만, 일반 func 함수를 넣어도 가능 struct ContentView: View { var body: some View { Button(action: self.didTapButton) { //
iOS 기본 (SwiftUI)
2022. 8. 5. 22:08