Swift: print() vs println() vs NSLog()
Asked 07 September, 2021
Viewed 3K times
  • 64
Votes

What's the difference between print, NSLog and println and when should I use each?

For example, in Python if I wanted to print a dictionary, I'd just print myDict, but now I have 2 other options. How and when should I use each?

6 Answer