Skip to content

This project target is this, make a modularization example using Swift Package Manager as dependency manager.

Notifications You must be signed in to change notification settings

Tavernari/RickAndMortyApp

Repository files navigation

Rick and Morty App Example

This project target is about making an example with a modular structure using Swift Package Manager as a dependency manager

Example

How to run

Clone this repository and open using XCode 12 or above.

Running tests

You can use xcode with Application Scheme or each module separately. If you prefer you also can run it using fastlane with the command fastlane test

App Scheme

The layer is:

APP -> Character List, Character Details -> Rick And Morty Rest API, Favorite Characters Feature -> Shared (Entities, UIComponents, Helpers)

APP can access all layer below but in that case it only access Character List, Character Details. All module only can access layers below but never the below layers can know about layers above.

Workspace Organization

Application Scheme

Character List Scheme (simplified)

Character List Scheme

Character Details Scheme (simplified)

Character Details Scheme

Favorite Characters Feature Scheme

Favorite Characters Feature Scheme

About

This project target is this, make a modularization example using Swift Package Manager as dependency manager.

Topics

Resources

Stars

Watchers

Forks