Game World!

Join A World Of Gamers

Enter your email address:

Delivered by FeedBurner

Followers

Popular Posts

Wednesday, 30 June 2021

Is SwiftUI like flutter?

 or the last eight months, I have been using SwiftUI to develop a native iOS application. Before that, I used Flutter to create several projects. So in this discussion, I want to share with you my opinion about Flutter vs. SwiftUI.

1. Fundamentals

2. Widgets and Views

3. Widgets, Views, and Modifiers

So in SwiftUI, modifiers are methods that take the view, change the view, and return a new view object.

4. Local State

You can add the local state to any views in SwiftUI.

5. Global State

6. Shipping New Features

We can not use SwiftUI 2.0 features in iOS 13, minimum requirement is iOS 14.

7. App Size

So these are fundamental similarities and differences between Flutter and SwiftUI. As both are declarative frameworks if you know one you can learn the other easily.

Which One Should I Learn?

Apple regularly updates its SDK with new bug fixes, additional features, so it is easy to upgrade the native iOS app.

Floating Button

Button