Coding life

  • Home
  • Posts
  • Tools
  • Games
  • Services
  • About

Swift - (Page 5/5)

My Experience in Developing Swift Macros

My Experience in Developing Swift Macros

Jan 10, 2023   ·   4 mins read

I have developed a collection of Swift Macros in this repo recently. This article will summarise my experience and hopef...

Swift Macros
Macros in Swift vs. KSP in Kotlin

Macros in Swift vs. KSP in Kotlin

Jan 10, 2023   ·   4 mins read

Preface In essence, these two technologies are completely different. While one is generating code by expanding the macro...

Swift Macros
How to develop Swift Macros

How to develop Swift Macros

Jan 10, 2023   ·   6 mins read

This tutorial is a step-by-step guide to develop Swift Macros. We will develop an attached Macro called Singleton , whic...

Swift Macros
DRY - Don’t Repeat Yourself

DRY - Don’t Repeat Yourself

Jan 10, 2023   ·   6 mins read

DRY(Don’t Repeat Yourself) aims at reducing the repetition of code chunks and patterns, which was first defined in the b...

Swift Programming
  • ««
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
  • »»

© 2025 Tim Wang