码迷,mamicode.com
首页 > 编程语言 > 详细

Swift - 初次使用:

时间:2015-12-21 19:51:18      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:

今天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


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


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

技术分享



Swift - 初次使用:

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!