하이 D:)veloper

  • 홈
  • 태그
  • 방명록

UITextField 1

SwiftUI에서 UIKit 사용하기 UIViewRepresentable(2) | @Binding 이란? Coordinator 란?

앞서 SwiftUI에서 UIKit를 사용하기 위해 UIViewRepresentable 프로토콜을 사용하는 방법을 간단히 알아보았다. 이제 여기서 궁금한 것은 SwiftUI와 UIKit 간에 데이터를 주고받고 변화를 감지할 수 있는가이다. 우리는 @Binding property와 Coordinator를 사용하면 적절한 상황에서 SwiftUI와 UIKit 간에 데이터를 주고받을 수 있다. SwiftUI에서 UIKit 사용하기 UIViewRepresentable (1) | TextField에서 clear button 사용하고 싶다면 SwiftUI에서 UIKit 사용하기 UIViewRepresentable(2) | @Binding 이란? Coordinator 란? # 🥨 @Binding property @Bin..

SwiftUI 2023.06.09
이전
1
다음
더보기
프로필사진

하이 D:)veloper

최근글과 인기글

  • 최근글
  • 인기글

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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
  • 분류 전체보기 (67)
    • SwiftUI (19)
    • Swift (32)
    • iOS (11)
    • RxSwift (3)

Tag

lokalise, ios, RxSwift, Equatable, swiftUI, existentialtype, existentialContainer, coldobservable, xcode, completionHandler, coredata, notification, swift localization, UIKit, GCD, struct, hotobservable, Swift, Protocol, Generic,

Copyright © Kakao Corp. All rights reserved.

티스토리툴바