SwiftUI logo

SwiftUI

Build user interfaces across all Apple platforms with Swift
545
522
+ 1
6

What is SwiftUI?

Provides views, controls, and layout structures for declaring your app's user interface. The framework provides event handlers for delivering taps, gestures, and other types of input to your app.
SwiftUI is a tool in the Mobile UI Frameworks category of a tech stack.

Who uses SwiftUI?

Companies
75 companies reportedly use SwiftUI in their tech stacks, including kevin., DevOps, and Tech-Stack.

Developers
459 developers on StackShare have stated that they use SwiftUI.

SwiftUI Integrations

Swift, Xcode, macOS, SwiftWebUI, and Judo are some of the popular tools that integrate with SwiftUI. Here's a list of all 6 tools that integrate with SwiftUI.
Pros of SwiftUI
2
XCode Canvas feature
2
Live previews
2
Smaller Scalable views
Decisions about SwiftUI

Here are some stack decisions, common use cases and reviews by companies and developers who chose SwiftUI in their tech stack.

Needs advice
on
FirebaseFirebaseMongoDBMongoDB
and
MySQLMySQL

I have been using Firebase with almost all my web projects as well as SwiftUI projects. I use it for the database as well as the user authentication via Google.

Is it good enough?? I have learned MySQL but I'm not that comfortable…

So for user authentication and database should I keep using firebase or switch to MySQL or MongoDB?? Or any other combination?

See more
Pragna Bhatt
android and IOS developer at Test · | 3 upvotes · 16.2K views
Needs advice
on
FlutterFlutter
and
SwiftUISwiftUI

I am new to Flutter... I am not able to make a decision should I use flutter or SwiftUI? application with 8 to 10 modules already done with native code.. now client want other 2 modules so i am confused between flutter and native

See more
Needs advice
on
SwiftSwiftSwiftUISwiftUI
and
XcodeXcode

Greetings everyone. I ran a design studio for 8 years in which we designed mobile and web apps. I also lead development teams when our client asked us to carry out the development of the projects. I always had an interest in learning to code to help me understand what is going on on the dev side and also build small apps as a hobby. I tried several times to get on a learning path, but challenges always put me down, so I quit after a couple of weeks. I tried JavaScript, Python, PHP, and Objective-C.

Now I am retrying to teach myself Swift and especially SwiftUI for more than a month, and It's been going well so far. I want to build my own small apps, and I'm not focused on getting hired as a developer. I want to ask if it's the right language to start learning to program or should I learn something else first as a foundation. I'm currently taking a 100 days of code challenge and reading the Swift 5.3 PDF if I want to get more information on a specific topic. It feels like none of the stuff is sticking, but I'm not sure if it's the way it goes or my approach is wrong.

I would appreciate any kind of guidance. Thanks

See more

SwiftUI's Features

  • Declarative Syntax
  • Design Tools
  • Drag and drop
  • Dynamic replacement
  • Previews
  • Native on All Apple Platforms
  • Generate dynamic, interactive previews of your custom views
  • Define interactions from taps, clicks, and swipes to fine-grained gestures
  • Control and respond to the flow of data and changes within your app’s models
  • Integrate SwiftUI views into existing apps, and embed AppKit, UIKit, and WatchKit views and controllers into SwiftUI view hierarchies
  • Present your content onscreen and handle user interactions

SwiftUI Alternatives & Comparisons

What are some alternatives to SwiftUI?
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Swift
Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.
Cocoa (OS X)
Much of Cocoa is implemented in Objective-C, an object-oriented language that is compiled to run at incredible speed, yet employs a truly dynamic runtime making it uniquely flexible. Because Objective-C is a superset of C, it is easy to mix C and even C++ into your Cocoa applications.
UIkIt
UIkit gives you a comprehensive collection of HTML, CSS, and JS components which is simple to use, easy to customize and extendable.
React Native
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
See all alternatives

SwiftUI's Followers
520 developers follow SwiftUI to keep up with related blogs and decisions.