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
- RemoteNotification
- Realm
- @State
- Remote Notification
- Postman
- writeasync
- 회고
- PushNotification
- fscalendar
- UserNofificationCenter
- apns
- Alamofire
- FCM
- webview
- UserInfo
- IOS
- APNs Key
- @ObservedObject
- enum
- networking
- 열거형
- PageControl
- @Binding
- collectionview
- moya
- datepicker
- @EnvironmentObject
- combine
- Comparable
- CaseIterable
Archives
- Today
- Total
목록@EnvironmentObject (1)
conyang's iOS
[SwiftUI] @State, @Binding, @ObservedObject, @EnvironmentObject
안녕하세요 코냥입니다! 이번 포스팅에서는 SwiftUI에서 데이터를 어떻게 보여주는지(데이터 바인딩)를 처리하는 핵심 요소를 알아보겠습니다. @State State | Apple Developer Documentation A property wrapper type that can read and write a value managed by SwiftUI. developer.apple.com 먼저 @State의 예제를 보겠습니다. struct ContentView: View { @State var text: String = "" var body: some View { VStack(alignment: .leading, spacing: 10) { //$가 붙으면 값을 수정가능한 Binding타입 참조합니다. ..
SwiftUI
2024. 3. 17. 21:40