RedCarpet icon indicating copy to clipboard operation
RedCarpet copied to clipboard

Demonstration of Original MVC, Apple MVC, MVVM, VIPER and Redux architectures.

Professional Swift Courseware

This project is a part of Professional Swift Courseware from Packt Publishing.

Content for 3-day training:

Red Carpet

This project demonstrates Original MVC, Apple MVC, MVVM, VIPER and Redux architectures all in a simple movie app. Upon launch, you will see top 25 movies from iTunes listed in a table view. You can also tap on a movie to show details.

  • Original MVC: Demonstrated in RedCarpetMVC target.
  • Apple's MVC: Demonstrated in RedCarpetAppleMVC target.
  • MVVM: Demonstrated in RedCarpetMVVM target.
  • VIPER: Demonstrated in RedCarpetVIPER target.
  • Redux: Demonstrated in RedCarpetRedux target.

All targets above implements the same app using a different approach. However, they share resources like data models, service APIs, mocked data, etc. These shared resources can be found in Commons target.

Data is provided by iTunes.

Requirements

  • Xcode 10
  • Swift 4.2

Note: Pods are included in repo but you may also need CocoaPods to manage dependencies.

License

Red Carpet is available under the MIT license.