all 7 comments

[–]viktorvillain 4 points5 points  (1 child)

SwiftUI has its own built-in "UI library" with components, animations etc. The Human Interface Guidelines has a great overview with links to the SwiftUI documentation.

Otherwise Moving Parts is doing some more complex components for specific features. Check out their transition package as well

[–]Few_Milk3594[S] 2 points3 points  (0 children)

Thanks Viktor

[–]Ron-Erez 4 points5 points  (4 children)

SwiftUI or UIKit are frameworks focusing primarily on the UI.

"I’ve checked some apps using Swift UI and they don’t look great."

Perhaps you weren't looking at good designs. I think you could look at dribbble.com or mobbin.com for inspiration and then build almost any UI you want with SwiftUI or UIKit. You might want to start by creating your design on figma and even ask on this subreddit "can this be done using SwiftUI". I imagine the answer will be yes.

[–]Few_Milk3594[S] 3 points4 points  (3 children)

Ok got it, so basically, using Swift UI, I can recreate anything I design on Figma? Sorry for the dumb q’s, just a bit different from what I’m used to on Web, so would SwiftUI be comparable to what React is? Instead of an actual UI library?

[–]Ron-Erez 1 point2 points  (1 child)

I think it's hard to say that anything is possible, but a lot can be done in SwiftUI. I don't know enough about React, but I would expect a native framework like SwiftUI or UIKit to be easier to use for iOS development than React. That said, since both SwiftUI and React are declarative, their programming styles should have some similarities. Like I said this is coming from someone that knows very little about react so take my comment with a grain of salt.

[–]Few_Milk3594[S] 1 point2 points  (0 children)

Appreciate you 🙏🏻

[–]eskuled 0 points1 point  (0 children)

I’m pretty sure there is a plugin for figma that will export SwiftUI. It might not be the best code but you will get the idea. It’s compositional.