Expert decision frameworks for SwiftGen choices. Claude knows asset catalogs and localization — this skill provides judgment calls for when SwiftGen adds value and configuration trade-offs.
The trap: Using SwiftGen on tiny projects or for assets that rarely change. The setup overhead may exceed the benefit.
| Images | swift5 | Asset.Category.name.image | | Colors | swift5 | Asset.Colors.name.color | | Strings | structured-swift5 | L10n.Category.Subcategory.key | | Strings (flat) | flat-swift5 | L10n.keyName | | Fonts | swift5 | FontFamily.Name.weight.font(size:) | | Storyboards | scenes-swift5 | StoryboardScene.Name.viewController |
Decisioni degli esperti SwiftGen per iOS/tvOS: quando le risorse indipendenti dai tipi aggiungono valore, compromessi nella selezione dei modelli, strategie organizzative e configurazione della fase di creazione. Da utilizzare durante la configurazione di SwiftGen, la scelta dei modelli o il debug dei problemi di generazione. Parole chiave di attivazione: SwiftGen, type-safe, Asset, L10n, ImageAsset, ColorAsset, FontFamily, swiftgen.yml, strutturato-swift5, generazione di codice, catalogo di risorse Fonte: kaakati/rails-enterprise-dev.