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
- lazyhgrid
- appprotocol
- accentcolor
- Switch
- 회고
- beginbackgroundtask
- escaping
- ScrollView
- lottieanimationview
- segue
- list
- Git
- SWIFT
- datepickerstyle
- error
- protocol
- tabview
- 고차함수
- SWIFTUI
- IOS
- 글또
- self
- struct
- widgetkit
- pickerstyle
- NotificationCenter
- class
- dispatchsouretimer
- uikit
- 화면전환
Archives
- Today
- Total
목록datepickerstyle (1)
seong_hye, the developer

📘 Swift) Picker & DatePicker사용자의 선택을 입력받는 기본적인 선택 UI 컴포넌트 🔹Picker (일반 선택 목록 - 드롭다운, 휠 등)사용자가 리스트 중 하나를 선택할 수 있도록 함import struct ContentView: View { @State private var selectedMedia = "드라마" let medias = ["드라마", "영화", "애니메이션", "TV쇼"] var body: some View { Picker("미디어 선택", selection: $seletedMedia) { // 반복문을 사용하는 경우 ForEach(medias, id: \.self) { media in T..
IOS/SwiftUI
2022. 8. 31.