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 |
Tags
- list
- Refresh
- class
- http
- array
- 화면전환
- apns
- ScrollView
- IOS
- viewlifecycle
- 고차함수
- NotificationCenter
- mvvm
- error
- Animation
- Switch
- SWIFT
- PushNotification
- Observer
- calendar
- Git
- struct
- uikit
- segue
- SWIFTUI
- 글또
- singleton
- self
- CoreImage
- escaping
Archives
- Today
- Total
목록checkbox (1)
seong_hye, the developer
📘 List와 CheckBoxList item에 그냥 checkBox를 넣게 되면 개별 계산이 안되는 경우가 있어서개별로 활동가능한 경우를 정리해두려 작성 🔹Item 데이터 모델struct Item: Identifiable { let id = UUID() let name: String var isChecked: Bool} 🔹List에 적용struct ContentView: View { @State private var items: [Item] = [ Item(name: "사과", isChecked: false), Item(name: "바나나", isChecked: false), Item(name: "오렌지", isChecked: false), ..
IOS/SwiftUI
2023. 9. 19.