swift_playgrounds:Swift游乐场的集合,展示了语言基础,JSON解析,HTTP网络和文件IO

时间:2024-06-10 14:13:10
【文件属性】:

文件名称:swift_playgrounds:Swift游乐场的集合,展示了语言基础,JSON解析,HTTP网络和文件IO

文件大小:104KB

文件格式:ZIP

更新时间:2024-06-10 14:13:10

Swift

斯威夫特游乐场 这是Swift游乐场的集合,我演讲中提到了这些游乐场。 它包括显示基本Swift,JSON解析,发送HTTP请求以及执行基本文件IO的游乐场。 用法 克隆仓库。 git clone --recursive https://github.com/dmikusa/swift_playgrounds.git 在XCode中打开工作区。 等待它为所有内容建立索引。 在模式选择器中,选择SwiftyJSON-> My Mac。 转到“项目”菜单,然后选择“生成”。 对Just-OSX->我的Mac和Alamofire OSX->我的Mac重复上述步骤。 这将构建项目所使用的框架。 选择一个游乐场或转到“编辑器”->“执行游乐场”以刷新它。 注意:您只需要执行前三个步骤一次。 之后,您可以根据需要编辑所有游乐场。


【文件预览】:
swift_playgrounds-master
----.gitignore(16B)
----BasicSwift.playground()
--------Sources()
--------Contents.swift(8KB)
--------playground.xcworkspace()
--------Documentation()
--------contents.xcplayground(189B)
--------timeline.xctimeline(1KB)
----Just()
----SwiftyJSON()
----Networking.playground()
--------Sources()
--------Contents.swift(6KB)
--------Resources()
--------contents.xcplayground(129B)
----Playgrounds.xcworkspace()
--------xcshareddata()
--------contents.xcworkspacedata(11KB)
--------xcuserdata()
----.gitmodules(264B)
----README.md(877B)
----JSON.playground()
--------Sources()
--------Contents.swift(3KB)
--------Resources()
--------contents.xcplayground(189B)
--------timeline.xctimeline(497B)
----Alamofire()
----FileIO.playground()
--------Sources()
--------Contents.swift(13KB)
--------playground.xcworkspace()
--------Resources()
--------contents.xcplayground(129B)

网友评论