일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 러닝타이머
- CoreLocation
- Startign Assignments
- Xcode
- 한국어 개인정보처리방침
- weatherKit
- 러닝기록앱
- UIAlertAction
- 영문 개인정보처리방침
- 서체관리자
- xcode로 날씨앱 만들기
- Protocol
- App Store Connect
- 단일 책임원칙
- 클로저의 캡슐화
- swift
- font book
- Timer
- Required Reason API
- SwiftUI Boolean 값
- MKMapItem
- dispatchsource
- AnyObject
- addannotation
- CLLocationManagerDelegate
- RunningTimer
- weak var
- UICollectionViewFlowLayout
- WeatherManager
- MKMapViewDelegate
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 |