본문 바로가기

conyang's iOS

검색하기
conyang's iOS
프로필사진 conyang

  • 분류 전체보기 (16)
    • Swift (2)
    • iOS (5)
    • SwiftUI (1)
    • RxSwift (0)
    • Combine (0)
    • CS (0)
    • 회고 (7)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록@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
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바