Printing file name, function name, line number in Swift.

Fredric Cliver
Mar 10, 2021

Use can use #file, #function, #line to identify your code location.
If you need more clarification when you print something in console, try it.

Paste this method.

Call method

--

--

Fredric Cliver

Majored in Physics, self-taught and worked in the IT industry as a Dev/Design/Planning for 11 years. And I had run my Startup for 3 years. I fancy a ☔️ 🇬🇧