Macro based networking framework with auto-generated services and mock services

Hi!

I'd like to let you know I've released Snowdrop v0.3.0. Most important features of this version (and Snowdrop in total) are:

  • It's fully based on macros
  • All you have to do is create a protocol declaring what methods your service should have and the implementation is generated automatically
  • Though protocols don't allow func declarations with default values, Snowdrop has a workaround :smiley:
  • Has built-in SSL/Certificate pinning
  • Has ability to add interceptors to custom modify request/response
  • Automatically decodes responses to a given type
  • Has @Mockable macro that automatically generates mock of your service

I hope you'll like it. If you have any feedback or ideas on how to further improve Snowdrop, let me know :slight_smile:

3 Likes

Awesome! I've always thought that something akin to Rust's rocket framework would be nice to have in Swift now that we have macros too, and this seems like a great contender!

1 Like