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

Paste this method.

Call method

--

--

--

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 ☔️ 🇬🇧

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Native approach to monitor network reachability on iOS

The Oddities of SwiftUI NavigationLink

IOS-Swift language learning notes: How to let user change image view’s image by themself

Publishing an iOS App to the App Store

Handle Keyboard Hide Show by Using Notification in swift

TronLink Weekly Report (2022.3.21–2022.3.27)

Why should Swift introduce ‘fileExtensionPrivate’ access modifier?

iOS Interview Questions (Part-2) Basics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Fredric Cliver

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 ☔️ 🇬🇧

More from Medium

Creating a macOS Statusbar Application

Git/Github

Presenting a SwiftUI view in a UIKit view controller

Use a Swift command-line tool in a GitHub workflow