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, theappendnewline parameter is a Boolean value,true indicates a newline, andfalse 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
650) this.width=650; "title=" 00.png "alt=" Wkiom1bubkqrena2aaas2mbeznc038.png "src=" http://s1.51cto.com/wyfs02/M00/ 7c/a1/wkiom1bubkqrena2aaas2mbeznc038.png "/>
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
This article is from the "Dongsheng-ios Technical Consultant" blog, make sure to keep this source http://tonyguan.blog.51cto.com/701759/1746078
"Learn Swift from scratch" Learning notes (day 7) Several overloaded forms of the print function in--swift 2.0