Need help with MovieSwiftUI?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Dimillian
5.8K Stars 546 Forks Apache License 2.0 343 Commits 9 Opened issues

Description

SwiftUI & Combine app using MovieDB API. With a custom Flux (Redux) implementation.

Services available

!
?

Need anything else?

Contributors list

# 19,816
Shell
Swift
wwdc
objectm...
313 commits
# 224,078
Swift
Objecti...
3 commits
# 24,974
Swift
Markdow...
webscra...
Twitter
2 commits
# 314,190
Swift
softwar...
Markdow...
1 commit
# 175,728
Swift
Kotlin
Shell
cbor
1 commit
# 190,889
Swift
Shell
swift5
swift-s...
1 commit
# 313,828
Swift
Scala
1 commit
# 284,570
Swift
Objecti...
jekyll-...
Jekyll
1 commit
# 136,399
Swift
PHP
bitly
shortur...
1 commit
# 265,343
Swift
Objecti...
iOS
permiss...
1 commit
# 47,044
Objecti...
carthag...
cocoapo...
hud
1 commit

Xcode build

MovieSwiftUI

MovieSwiftUI is an application that uses the MovieDB API and is built with SwiftUI. It demos some SwiftUI (& Combine) concepts. The goal is to make a real world application using SwiftUI only. It'll be updated with new features as they come to the SwiftUI framework.

I have written a series of articles that document the design and architecture of the app: Making a Real World Application With SwiftUI.

App Image

Architecture

MovieSwiftUI data flow is a subset and a custom implementation of the Flux part of Redux. It implement the State in an ObservableObject as a @Published wrapped property, so changes are published whenever a dispatched action produces a new state after being reduced. The state is injected as an environment object in the root view of the application, and is easily accessible anywhere in the application. SwiftUI does all aspects of diffing on the render pass when your state changes. No need to be clever when extracting props from your State, they're simple dynamic vars at the view level. No matter your objects' graph size, SwiftUI speed depends on the complexity of your views hierarchy, not the complexity of your object graph.

SwiftUI

MovieSwiftUI is in pure Swift UI, the goal is to see how far SwiftUI can go in its current implementation without using anything from UIKit (basically no UIView/UIViewController representable).

It'll evolve with SwiftUI, every time Apple edits existing or adds new features to the framework.

Platforms

Currently MovieSwiftUI runs on iPhone, iPad, and macOS.

Follow me on Twitter to get the latest update about features, code and SwiftUI tips and tricks!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.