SourceryStencilPacks: SPM / Xcode Plugin

SourceryStencilPacks: SPM / Xcode Plugin

Dec 26, 2025

image

Convenient way to use collections of Sourcery stencils as an SPM plugins and Xcode plugins. This plugins provides simpler way to use sourcery binary with predefined templates without checking out whole sourcery repository. Learn more about it from the Sourcery here.

How to generate boilerplate functions?

// Generate hash, equals(==) and copy functions
// sourcery: Hashable, Equatable, Copyable
struct Product {
    let name: String
    let price: Double
    let variants: [ProductVariant]
}

// Or simply use:
// sourcery: DataRepresentable
struct Product {
    let name: String
    let price: Double
    let variants: [ProductVariant]
}

Something that you are looking for? See more details here

¿Te gusta esta publicación?

Comprar Steven Lewi un café

Más de Steven Lewi

PrivacidadCondicionesDenunciar