pitt500 / SwiftAndTipsMacros

A list of Swift Macros to make your coding live on Apple ecosystem simpler and more productive.
MIT License
89 stars 7 forks source link

Custom Supported Categories #1

Open yilmazedis opened 11 months ago

yilmazedis commented 11 months ago

Hello,

Is it possible for me to create custom categories, such as "Code" or "Color," or modify existing predefined categories like "Fullname"? for example generate random pet names instead of human names.

pitt500 commented 11 months ago

Hi @yilmazedis, absolutely! Feel free to add any improvement or proposal for SampleBuilder or any new Macro.

Before you jump into the implementation, Could you expand your idea? How the code will look after this change?

Thanks

yilmazedis commented 11 months ago

Hi @pitt500 I dont know, can Macros allows that approach. My idea is, to have over control your Macro and I still didn’t check all codes you provided, I will think if it is possible to add these improvements. Before implementing my idea, I want to let you know what is am I on.

Thanks ☺️

pitt500 commented 11 months ago

@yilmazedis thanks for the explanation. The idea will be to add more categories depending on your needs.

Your idea is doable, just we need to discuss the approach! 😃