These give inline autocomplete of symbols, whereas SymbolMacro is used with string literals that can be searched using the Xcode symbol library (⌘⇧L). SymbolMacro avoids the requirement of needing to wait for a 3rd-party library to update when new symbols are released.
SymbolMacro
Compile-time checked SF Symbol names using Swift Macros
#symbol
#symbolImage
Limitations
Symbol availability is based on the OS version of the device compiling an app, not the target deployment version of the app.
Alternatives
SF Symbols can be accessed using hardcoded enum cases using:
These give inline autocomplete of symbols, whereas
SymbolMacro
is used with string literals that can be searched using the Xcode symbol library (⌘⇧L).SymbolMacro
avoids the requirement of needing to wait for a 3rd-party library to update when new symbols are released.