pdf版第23页提及了打印输出用println函数,但好像没有提及如何输出不带回车换行的打印函数print函数。print的用法和println差不多。print("hello Swift")println("hello Swift")
是,我也看到了。
在后面的 “Printing Constants and Variables” 里头有提到 摘录来自: Apple Inc. “The Swift Programming Language”。 iBooks. https://itun.es/us/jEUH0.l