print() vs debugPrint() in swift
问题 This might be a simple question but because of clear understanding between print() and debug() print in swift I am unable to understand where to use each one. 回答1: You use debugPrint when you want more information about what is being printed to the console. The additional information is usually useful for debugging. print() - Writes the textual representations of the given items into the standard output. debugPrint() - Writes the textual representations of the given items most suitable for