ABOUT ME

-

Today
-
Yesterday
-
Total
-

TCA binding 액션 내부 타입 바인딩 @CasePathable
Swift 2025.03.25 17:07

Binding보통 아래와같은 방식으로 바인딩을 만들어 노출 비노출 처리함→ Binding init 보다 더 짧고 간결하게 구현히 가능$store.presentActionSheet.sending(\\.presentActionSheet),근데 만약 Action 타입이 내부 세부 타입으로 나누어져있을 경우에 문제가 생김enum Action { enum CommunityPostReportAction { case setActiveAlert(CustomAlertPopupType?) case showReportedPostGuide(Bool) } case report(CommunityPostReportAction)}이런경우 위와 같은 방식으로 바인딩 할수가 없음$store.showReportedP..

리스트 : 콘텐츠가 있으면 최근 5건을 불러옵니다.

Designed by Tistory.