News for hackers. Stuff that matters.
Re:Static Types in SwiftUI by DelightOne on Tuesday November 05, 2019 @06:58PM (#21458286)
I think it has a body type [0] (Never). And since a default implementation is provided [1] the compiler probably does not complain. This default body implementation does likely not draw anything, but that's just guessing.

[0]: https://developer.apple.com/documentation/swiftui/emptyview/... [1]: https://developer.apple.com/documentation/swiftui/view/32785...

There are no comments on this comment yet.