Swift: print() vs println() vs NSLog()
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?