Converting Objective-C Macros To Swift Functions

Apple docs:

“Complex macros are used in C and Objective-C but have no counterpart in Swift.”

No worries, Andrew Bancroft on converting macros to Swift:

“Complex Objective-C macros tend to look a lot like functions, so the transition to Swift was straightforward…”