Hi Gjermund, Yeah, technically would be the same except using Move.sample.map { row in ... } instead of for row in Move.sample { ... } You will also add this to the HtmlBuilder to support expression arrays: static func buildExpression(_ expression: [HtmlTag]) -> [HtmlTag] { expression }
That was a nice dive in result builder Pit! Thanks for source code :)
You’re welcome, glad to help! ☺️
dope!!
I've heard of ResultBuilders but haven't really seen a deep-dive until today ✊
Now I know how John Sundell's 'Publish' was made.
Great job done!
Thank you! ☺️
Such a great video, thanks a lot for your effort!
Thank you Flo! 😊
You Covered Advanced Concept using SWIFTUI
Awesome video
Thank you! 😊
👏
Not sure why you do `for row in Move.sample`; wouldn't some sort of `Move.sample.map{ Tr{ Td( $0.level)...} }` be more SwiftUI-like?
Hi Gjermund, Yeah, technically would be the same except using Move.sample.map { row in ... } instead of for row in Move.sample { ... }
You will also add this to the HtmlBuilder to support expression arrays:
static func buildExpression(_ expression: [HtmlTag]) -> [HtmlTag] {
expression
}