Press ESC to close

What is the SwiftUI

Hello friends. In this article, we will talk about what SwiftUI is. SwiftUI is a new framework Apple introduced at WWDC 2019. Apple actually makes a statement about this framework that was introduced as follows; “SwiftUI literally transforms user interface creation by automating most of the process, providing a real-time preview of how the UI looks and behaves in the app. We think the developers will love it. ”

With this framework, Apple actually enables us to write applications in a cross way. The cross mentioned here is not actually operating systems, but devices in the apple ecosystem. With SwiftUI, you can present the same design to WatchOS, iPadOs, MacOS and iOS at the same time. We could actually do this with UIKit, but it was not very healthy and it was necessary to consider a number of things for different devices. The release of SwiftUI does not mean that UIKit is inadequate. With UIKit, we were able to make quick designs on the Storyboard, but my opinion is that Apple should not miss the Declarative UI and head here. Because you know that you can make shorter and more beautiful screens on Flutter on this way. Xamarin had an attack with MAUI on this side, but I think it’s late. With SwiftUI, Apple briefly offers us the following.

  • We will be more effective with less code
  • We can use the same part on different pages by dividing it into parts in the design part.
  • Delivering products to all Apple products in one design
  • Simpler and cleaner code structure
  • Instant viewing of the written code
  • Performance
  • Of course, there are a few disadvantages as well. These;


  • Supporting iOS 13 and above.
  • Community not fully settled

I don’t think it makes much sense to embark on big apps with SwiftUI for 2020. Because it supports iOS 13 and above. iOS 13 came to 6s and above. If you still want to support 5, 5s and 6 models, or if you want to support iOS 12 and below versions, this is not possible with SwiftUI. In addition, since SwiftUI is constantly updated, a little more effort will be required in terms of learning. SwiftUI 2.0 arrived at the WWDC 2020 event. However, new looks have also appeared. That’s why you need to keep yourself updated.

If you have questions, you can reach by e-mail or comment. Good work.

Leave a Reply

Your email address will not be published. Required fields are marked *