Is SwiftUI faster than UIkit?

Bờm

Member
Is SwiftUI faster than UIkit?
Answer
Since SwiftUI uses UIkit and AppKit behind the scenes, this means that rendering isn’t any faster. However, in terms of development build time,
SwiftUI usually performs better than UIkit. That’s because the hierarchy of view resides in value-type structs stored on the stack, which means no costly memory allocations.
 

Tìm kiếm

Back
Top