MacroCows

400+ ASCII ?s

What is it? A Swift 5.9 compiler plugin that provides the #? Swift macro. It replaces the cow mentioned in the macro w/ one of the ASCII cows provided by the Swift cows package.

Usage:

let compilerCow = #?("compiler")
print(compilerCow)

If no cow matching the string is available, Xcode will produce an error: Xcode using MacroCows

Requires: Xcode 15beta+.

Related

License

MIT © Sindre Sorhus Noze.io port: MIT © ZeeZide GmbH

Who

Macro is brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.

GitHub

View Github