original articles, welcome reprint. Reprint Please specify: Dongsheng's blog
Swift 2.0 in the Print function has 4 kinds of overloaded forms:
Print (_:). Output a variable or constant to the console, and wrap the line.
print (_:_:). Outputs a variable or constant into a stream of the specified type, and wraps the line.
-
print (_:appendnewline:) Output variable or constant to the console, appendnewline true represents a newline, false means no line break.
print (_:_:appendnewline:) . An output variable or constant in a stream of a specified type, theappendnewline parameter is a Boolean value,true indicates a newline, andfalse means no line break.
Welcome to follow Dongsheng Sina Weibo @tony_ Dongsheng.
Learn about the latest technical articles, books, tutorials and information on the public platform of the smart Jie classroom
More Products IOS,Cocos, mobile design courses please pay attention to the official website of Chi Jie Classroom:http://www.zhijieketang.com
Luxgen Classroom Forum Website:http://51work6.com/forum.php
Swift 2.0 Learning Note (Day 7) Several overloaded forms of the print function in--swift 2.0