Skip to content

yegorskikh/ModularRickAndMortyApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Modular

An example of the use of modules in xcode

let package = Package(
    name: "ModularRickAndMortyApp",
    platforms: [.iOS(.v17)],
    products: [
        .library(name: "ModularRickAndMortyApp", targets: ["ModularRickAndMortyApp"])
    ],
    dependencies: [
        .package(path: "../CoreDI"),
        .package(path: "../CharactersFeature"),
        .package(path: "../OnboardingFeature"),
    ],
    targets: [
        .target(
            name: "ModularRickAndMortyApp",
            dependencies: [
                .product(name: "CoreDI", package: "CoreDI"),
                .product(name: "CharactersFeature", package: "CharactersFeature"),
                .product(name: "OnboardingFeature", package: "OnboardingFeature")
                ]
        )
    ]
)

Example screen

Simulator Screenshot - iPhone SE (3rd generation) - 2025-06-16 at 11 37 36 Simulator Screenshot - iPhone SE (3rd generation) - 2025-06-16 at 11 16 17

About

An example of the use of modules in xcode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages