@@ -12,12 +12,14 @@ public protocol WhatsNewPageList: View, _ViewEmptyChecking {
12
12
}
13
13
14
14
public extension WhatsNewPageList {
15
+ /// :nodoc:
15
16
var body : some View {
16
17
WhatsNewInnerView ( pageList: self )
17
18
}
18
19
}
19
20
20
21
public extension WhatsNewPageList {
22
+ /// :nodoc:
21
23
var isEmpty : Bool {
22
24
count == 0
23
25
}
@@ -147,6 +149,7 @@ public struct WhatsNewPagePair<First: View, Second: WhatsNewPageList>: WhatsNewP
147
149
}
148
150
}
149
151
152
+ /// Returns an instance of a view that is used internally by the WhatsNewPageView.
150
153
@available ( iOS 13 . 0 , macOS 10 . 15 , tvOS 13 . 0 , watchOS 6 . 0 , * )
151
154
@resultBuilder
152
155
public enum WhatsNewPagesBuilder {
@@ -163,38 +166,47 @@ public enum WhatsNewPagesBuilder {
163
166
SingleWhatsNewPage ( view: content)
164
167
}
165
168
169
+ /// :nodoc:
166
170
public static func buildBlock( _ c0: some View , _ c1: some View ) -> some WhatsNewPageList {
167
171
WhatsNewPagePair ( first: c0, remainder: SingleWhatsNewPage ( view: c1) )
168
172
}
169
173
174
+ /// :nodoc:
170
175
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View ) -> some WhatsNewPageList {
171
176
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: SingleWhatsNewPage ( view: c2) ) )
172
177
}
173
178
179
+ /// :nodoc:
174
180
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View ) -> some WhatsNewPageList {
175
181
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: SingleWhatsNewPage ( view: c3) ) ) )
176
182
}
177
183
184
+ /// :nodoc:
178
185
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View , _ c4: some View ) -> some WhatsNewPageList {
179
186
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: WhatsNewPagePair ( first: c3, remainder: SingleWhatsNewPage ( view: c4) ) ) ) )
180
187
}
181
188
189
+ /// :nodoc:
182
190
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View , _ c4: some View , _ c5: some View ) -> some WhatsNewPageList {
183
191
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: WhatsNewPagePair ( first: c3, remainder: WhatsNewPagePair ( first: c4, remainder: SingleWhatsNewPage ( view: c5) ) ) ) ) )
184
192
}
185
193
194
+ /// :nodoc:
186
195
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View , _ c4: some View , _ c5: some View , _ c6: some View ) -> some WhatsNewPageList {
187
196
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: WhatsNewPagePair ( first: c3, remainder: WhatsNewPagePair ( first: c4, remainder: WhatsNewPagePair ( first: c5, remainder: SingleWhatsNewPage ( view: c6) ) ) ) ) ) )
188
197
}
189
198
199
+ /// :nodoc:
190
200
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View , _ c4: some View , _ c5: some View , _ c6: some View , _ c7: some View ) -> some WhatsNewPageList {
191
201
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: WhatsNewPagePair ( first: c3, remainder: WhatsNewPagePair ( first: c4, remainder: WhatsNewPagePair ( first: c5, remainder: WhatsNewPagePair ( first: c6, remainder: SingleWhatsNewPage ( view: c7) ) ) ) ) ) ) )
192
202
}
193
203
204
+ /// :nodoc:
194
205
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View , _ c4: some View , _ c5: some View , _ c6: some View , _ c7: some View , _ c8: some View ) -> some WhatsNewPageList {
195
206
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: WhatsNewPagePair ( first: c3, remainder: WhatsNewPagePair ( first: c4, remainder: WhatsNewPagePair ( first: c5, remainder: WhatsNewPagePair ( first: c6, remainder: WhatsNewPagePair ( first: c7, remainder: SingleWhatsNewPage ( view: c8) ) ) ) ) ) ) ) )
196
207
}
197
208
209
+ /// :nodoc:
198
210
public static func buildBlock( _ c0: some View , _ c1: some View , _ c2: some View , _ c3: some View , _ c4: some View , _ c5: some View , _ c6: some View , _ c7: some View , _ c8: some View , _ c9: some View ) -> some WhatsNewPageList {
199
211
WhatsNewPagePair ( first: c0, remainder: WhatsNewPagePair ( first: c1, remainder: WhatsNewPagePair ( first: c2, remainder: WhatsNewPagePair ( first: c3, remainder: WhatsNewPagePair ( first: c4, remainder: WhatsNewPagePair ( first: c5, remainder: WhatsNewPagePair ( first: c6, remainder: WhatsNewPagePair ( first: c7, remainder: WhatsNewPagePair ( first: c8, remainder: SingleWhatsNewPage ( view: c9) ) ) ) ) ) ) ) ) )
200
212
}
0 commit comments