1、打开xcode
2、点击create a new xcode project
3、点击single view app , 点击next
4、输入工程名字,选择语言为swift
5、选择位置,点击create。
6、创建成功