Skip to content

Conversation

@PaulRWillis
Copy link
Collaborator

@PaulRWillis PaulRWillis commented Dec 7, 2025

Importing package to being modularizing iOS assets such as images and colors.

Changes

  • Adds a new SharedAssets module and package.
  • Uses SwiftGen to create type-safe access to all colors and images in the app.
  • Copies all colors and images into asset catalogs in SharedAssets.

Backwards compatibility

Copies of all colors and images have been left in the project-level asset catalogs for now.

This is needed to support code that hasn't yet been modularized. These assets will eventually be removed.

App icons

Separately, I noticed that the app's "app icons" are still in the asset catalog instead of separate images from Icon Composer. We might need to keep an asset catalog of app icons in the main project and out of SPM to support this.

@adamrushy are there plans to use Icon Composer to move away from asset catalog icons?

Paul Willis and others added 19 commits December 4, 2025 21:37
Stencil needs further work to handle all Assets.xcassets within a designated input folder
@PaulRWillis PaulRWillis merged commit 57a4ac5 into main Dec 13, 2025
1 check passed
@PaulRWillis PaulRWillis deleted the import-swift-gen branch December 13, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants