- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 Swift 基本语法
在上一章节中我们已经讲到如何创建 Swift 语言的 "Hello, World!" 程序。现在我们来复习下。 如果创建的是 OS X playground 需要引入 Cocoa : import Cocoa /* 我的第一个 Swift 程序 */ var myString = "Hello, World!" print(myString) 如果我们想创建 iOS playground 则需要引入 UIKit : import UIKit var myString = "Hello, Wo
2022-03-03 18:40:56
137
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人