You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`@Delegatable` 매크로는 델리게이트 클로저를 저장하는 프로퍼티에 빌더 스타일의 체이닝 메서드를 추가해 SwiftUI 및 UIKit 구성 요소에서 호출 클로저를 간단히 주입할 수 있게 해 줍니다.
6
-
`@Delegatable` generates builder-style methods for closure-backed delegate properties so SwiftUI/UIKit components can adopt chained delegate configuration with minimal boilerplate.
6
+
Delegation은 델리게이트 클로저를 체이닝 방식으로 구성할 수 있게 해 주는 Swift 매크로 패키지입니다.
7
+
Delegation is a Swift macro package that unlocks builder-style configuration for closure-based delegates in SwiftUI and UIKit.
8
+
9
+
## 주요 기능 (Features)
10
+
11
+
-`@Delegatable` 애트리뷰트 하나로 체이닝 가능한 빌더 메서드 자동 생성
12
+
-`async`, `throws`, 다중 파라미터, `@Sendable` 등 클로저 특성 그대로 유지
13
+
- 시스템 기본 언어에 맞춰 한국어/영어 진단 메시지 자동 출력
7
14
8
15
## 설치 (Installation)
9
16
10
-
- Swift Package Manager만 지원합니다.
11
-
Add only via Swift Package Manager.
17
+
- Swift Package Manager만 지원하며 Swift 5.9(Xcode 15.0) 이상이 필요합니다.
18
+
Swift Package Manager only, requiring Swift 5.9 (Xcode 15.0) or newer.
12
19
-`Package.swift`의 `dependencies`와 `targets` 섹션에 아래와 같이 추가하세요.
13
20
Add the package to the `dependencies` and `targets` sections as shown below.
0 commit comments