DEV Community

Ben McMahen
Ben McMahen

Posted on

1

React design patterns in SwiftUI

TLDR: I've created a repository with React patterns implemented in SwiftUI

Apple has recently released SwiftUI, a declarative UI framework for building native applications on Apple devices. The similarities with React are quite obvious, which makes it relatively easy for any React developers to pick up.

I'm going to be teaching myself SwiftUI over the coming weeks and I'll be recording various common React design patterns implemented in SwiftUI. You can see them on the react-meets-swiftui GitHub repository. The hope is that these examples will make it easier for experienced React developers to pick up SwiftUI.

Please keep in mind that I have about 4 years of React experience, and 3 days of Swift experience. But I'll continue to update these examples as I learn more, and hopefully those with more experience will offer their help.

Sentry mobile image

Tired of users complaining about slow app loading and janky UI?

Improve performance with key strategies like TTID/TTFD & app start analysis.

Read the blog post

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay