SwiftUI and Mac Catalyst — Introduction to iOS development

Devin Rathnayake
2 min readMay 21, 2021

SwiftUI is introduced in WWDC’19. SwiftUI is a brand new UI framework for developing apps for all Apple devices which are including macOS apps too. Before introducing SwiftUI, developers had used apple UIKit for developing iOS apps and AppKit for developing macOS apps. Developers need to know two different frameworks for developing apps for Apple devices.

SwiftUI provides you with drag and drops code creation.

Easy Layout using VHZ stack.

SwiftUI using Vertical, Horizontal, and Z-axis stack for storing UI components. It means beginners also can do the complex layout easily.

Live Preview.

Developers can see instances preview what they did to code. No need to build applications build over and over.

If you are a newbie to ios development I suggest you learn SwiftUI. After 3 or 4 years you will be capable of developing apps for any apple device platforms. Currently, If you are an ios developer who is using storyboard (UIKit) learning SwiftUI may be an advantage for your career. SwiftUI is the future of app development.

SwiftUI using swift as its programming language. Swift programming language is a simple and powerful language. Syntax same as other languages. SwiftUI is developing day by day and adding new UI features daily.

Mac Catalyst

Another game-changing feature is released in WWDC”19. Project catalyst released for macs. By using Catalyst, Developers can convert their iOS apps to macOS apps by checking the checkbox only.

Stay tuned …! cheers ✌️

--

--

Devin Rathnayake

IT undergraduate, IT person. Love to share knowledge with others. Feel free to contact me at anytime.