Sourcery

Meta-programming for Swift, stop writing boilerplate code.

License

MIT License

Description

Do you hate writing same code over and over again? Mocks, Codable for enums, TCA / GRDB and other patterns?Now you don't need to, it's just a shortcut away.Sourcery Pro extends Xcode with the ability to automate common Swift programming tasks by adding support for Live Templates that understand your code, it lets us automate all repetitive code patterns that happen way too often: - Create mock implementation from a selected protocol- Add Codable support to enums with associated values- Kickstart your Composable Architecture boilerplate- Generate property level tests- Create type erased containers for your PAT's- Generate test specs from your classes- Generate SwiftUI view from a struct- Create Prisms and Lenses for your data- Hundreds of more use-casesIt comes bundled with 14 starting templates and features a powerful Template editor with code completion, inline documentation, and a built-in error checker/linter that makes writing your custom templates a breeze.Built on top of my Sourcery tool that is used in over 40 000 Swift apps, including products like Airbnb, Bumble, and The New York Times. It saved those apps millions of dollars in development time, and now you can save both your time and regain some of the sanity by stopping to write the same code over and over again, how much is your time worth?This app is the culmination of 5 years of work and thousands of development hours, it's simply the most powerful Xcode extension ever created.Even if you never heard of Sourcery, you'll have no problem creating your templates, and if you are a Sourcery user this tool not only makes creating your templates a completely different experience but also adds additional use-cases that are simply not possible with full CLI automation that I normally recommend with it.You can share your templates with your friends and team by drag & dropping or right-clicking on the template in the list.

Creator

krzysztofzablocki

Related apps

Inject

Hot Reloading for Swift applications!

Swift2338mit

3 months ago

hot-reloadiosswift

KZAsserts

KZAsserts

Asserts on roids, test all your assumptions with ease.

Objective-C100mit

2 years ago

KZFileWatchers

KZFileWatchers

A micro-framework for observing file changes, both local and remote. Helpful in

Swift1083mit

2 months ago

LifetimeTracker

LifetimeTracker

Find retain cycles / memory leaks sooner.

Swift3155mit

6 months ago

iosmemory-leaksretain-cycles

PropertyMapper

PropertyMapper

Property mapping for Objective-C iOS apps.

Objective-C1125mit

4 years ago

Traits

Traits

Modify your native iOS app in real time.

Swift904mit

8 years ago

Bootstrap

Bootstrap

iOS project bootstrap aimed at high quality coding.

Objective-C2047other

4 years ago

crafter

Crafter - Xcode project configuration CLI made easy.

Ruby547

8 years ago

Playgrounds

Playgrounds

Better playgrounds that work both for Objective-C and Swift

Objective-C2634other

2 years ago

hot-reloadhot-reloadingobjective-c

Swift-Macros

Swift-Macros

A curated list of awesome Swift Macros

Swift2202mit

28 days ago

appleprogrammingswift