-
Notifications
You must be signed in to change notification settings - Fork 874
CodeQuickRef
Liu Lantao edited this page Jun 9, 2014
·
5 revisions
如果有多个版本,使用xcode-select
将Xcode6设置为默认开发工具
sudo xcode-select -s /Applications/Xcode6-Beta.app/Contents/Developer/
直接开启swift控制台(非playground)
xcrun swift
let alert: UIAlertView = UIAlertView()
alert.title = "This a simple UIAlertView"
alert.message = "Press OK to continue"
alert.addButtonWithTitle("OK")
alert.show()
-
Swift资源合集
- Introducing Swift by apple
- Xcode 6 beta 6 下载 by 网友
- Swift Beginner Guide by Lax