일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- swift
- rxcocoa
- Flutter
- realm
- reactorkit
- tableView
- SwiftUI
- BFS
- BOJ
- arkit
- raywenderlich
- designpattern
- SnapKit
- RxSwift
- XCTest
- 패스트캠퍼스
- CollectionView
- node.js
- combine
- 백준
- Lv2
- 프로그래머스
- UIKit
- Kuring
- TCA
- visionOS
- Swfit
- Xcode
- MVVM
- ios
Archives
- Today
- Total
목록Aleat (1)
lgvv98
[SwiftUI] Alert
Alert ✅ SwiftUI에서 Alert를 사용하는 것을 알아보자. 아주 간단한 내용을 기반으로 커스텀 하는 것은 알아서 해보기! import SwiftUI struct contentView: View { // struct는 class와 다르게 데이터가 고정이라서 변경을 하려면 @state키워드 사용 // mutating과 닮아있다. @State var shouldShowAlert: Bool = false var body: some View { Button( action: { print("확인 버튼이 클릭되었다.") self.shouldShowAlert = true }) { Text("확인") .fontWeight(.bold) .foregroundColor(.white) .padding() .frame..
apple/🚁 SwiftUI & Combine
2022. 5. 18. 15:54