ios - Swift 2.0 Print function -
this question has answer here:
- swift: print() vs println() vs nslog() 5 answers
what difference between nslog()
, println
, , print
?
from experience , understanding, write in console/debugging area why there change in swift v1.2 , v2.0?
if use 2.0 print
offer more functionality, still same thing. please refer documentation see added functionality.
https://developer.apple.com/library/ios/documentation/swift/conceptual/swift_programming_language/
also don't use nslog if using swift
Comments
Post a Comment