Swift

今天Apple放出了新的编程语言。然后下载了Xcode6把系统升级到Mac OS 10.9.3 (Xcode6的系统最低要求)。

创建了一个项目,折腾半天 都不知道怎么导入一个ViewController文件。后来细致看了一下官方文档。在 A Swift Tour 这一章 有一段话:

“ You don’t need to import a separate library for functionality like input/output or string handling.
 Code written at global scope is used as the entry point for the program, so you don’t need a main function.
 You also don’t need to write semicolons at the end of every statement.”

摘录来自: Apple Inc. “The Swift Programming Language”。 iBooks. https://itun.es/cn/jEUH0.l


大意是以后不须要导入头文件.. 


大家多注意一下吧...细致看文档吧...




原文地址:https://www.cnblogs.com/hrhguanli/p/5064155.html