How can I get name of variable (it is an object) as string at runtime in Swift? class Employee { func calculateSalary() { -> how can I print name of the variable call in this function? } } Example: let johnny = Employee() johnny.calculateSalary() -> It will print "johnny" in function calculateSalary() Programming Languages Swift iOS Swift Debugging Objective-C Runtime 3 0 927 Oct ’23