SwiftUI Performance Battle: AnyView vs Group
Published in
8 min readDec 8, 2019
I’ve recently received a question from an iOS engineer regarding my open source project written with SwiftUI. He shared his concerns regarding the use of AnyView
in the project.
To quickly bring you on the same page, there are rumors (2, 3, 4, 5, 6) that AnyView
brings in serious performance implications to the SwiftUI render engine, due to the fact that it erases the type of the…