News for hackers. Stuff that matters.
Re:SwiftUI tutorials rewritten completely by mrtksn on Tuesday December 15, 2020 @12:57AM (#25427451)
I don’t think so, the look and feels is different.

Under the hood it will use some UIKit like UIScrollView but the whole architecture is different.

On UIKit, the objects you create stay retained as long as they are used and all you do is to change properties when using.

On SwiftUI, everything is released and retained every time there’s a change.

That’s why you need to address the life cycle differences when you use UIKit and SwiftUI together.

There are no comments on this comment yet.