일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- weatherKit
- dispatchsource
- MKMapViewDelegate
- weak var
- Required Reason API
- RunningTimer
- Protocol
- 단일 책임원칙
- MKMapItem
- Timer
- CLLocationManagerDelegate
- font book
- addannotation
- 영문 개인정보처리방침
- 러닝기록앱
- UICollectionViewFlowLayout
- UIAlertAction
- SwiftUI Boolean 값
- Xcode
- AnyObject
- CoreLocation
- Startign Assignments
- xcode로 날씨앱 만들기
- 한국어 개인정보처리방침
- swift
- 러닝타이머
- App Store Connect
- 클로저의 캡슐화
- 서체관리자
- WeatherManager
Archives
- Today
- Total
VesselWheel
단추 늘이기, 줄이기 본문
import SwiftUI
struct ContentView: View {
@State private var count: Float = 0
@State private var age: Float = 0
var body: some View {
VStack {
Form{
Slider(value: self.$count, in: 1...10){
Text("Count")
}
Text("Count : \(Int(self.count))")
Slider(value: self.$age, in: 0...100){
Text("Age")
}
Text("Age : \(Int(self.age))")
}
}
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
'Xcode Study' 카테고리의 다른 글
count : index with VStack (0) | 2023.10.18 |
---|---|
NavigationView (0) | 2023.10.18 |
func Count and Age present (0) | 2023.10.18 |
e-mail / pw 입력창 (1) | 2023.10.18 |
@State (0) | 2023.10.18 |