---
title: Swift Playgrounds 4 发布，由 Apple 带来，可能是最易用的学习编程入门工具
date: 2021-12-16T06:53:23Z
modified: 2021-12-16T06:53:31Z
permalink: "https://www.appinn.com/swift-playgrounds-4/"
type: post
status: publish
excerpt: ""
categories:
  - iOS
  - iPad
  - macOS
tags:
  - iOS
  - iPad
  - macOS
  - Swift
  - twp
  - 学习
  - 编程
featured_image: "https://www.appinn.com/wp-content/uploads/2021/12/swift-playgrounds-4.jpgo_.jpg"
author: 青小蛙
timestamp: 2021-12-16T06:53:31Z
---

**Swift Playgrounds** 是 Apple 提供的一款适用于 Mac、iPad 设备的学习编程入门工具。它不要求用户有编程基础，适合初学者，通过互动游戏，逐步学习 Swift 编程语言。今天刚刚发布了 Swift Playgrounds 4 版本，带来了“直接在 iPad 上使用 SwiftUI 构建 iPhone 和 iPad 应用”，“整合了 App Store Connect，可让你将完成的 App 上传至 App Store” 两个功能。@[Appinn](https://www.appinn.com/swift-playgrounds-4.md)

![Swift Playgrounds 4 发布，可能是最易用的学习编程入门工具，由 Apple 带来](https://static2.appinn.com/images/202112/swift-playgrounds-4.jpg)

说起来，青小蛙之前是将 Swift Playgrounds 当游戏玩的…想不到人家现在都能直接在 App Store 发布应用了。

## Swift Playgrounds 4.0 功能：

- 直接在 iPad 上使用 SwiftUI 构建 iPhone 和 iPad App（需要 iPadOS 15.2 或更高版本）
- 整合了 App Store Connect，可让你将完成的 App 上传至 App Store
- “App 预览”在你更改 App 时实时显示更新
- 全屏幕预览可让你看到 App 全貌
- 智能的内联代码建议可帮助你快速准确地编写代码
- “App 项目”可将项目轻松在 Xcode 中来回移动
- 全项目搜索可跨多个文件查找结果
- “片段库”提供数以百计的 SwiftUI 控制、符号和颜色
- 支持 Swift 软件包，可让你包括可公开获取的代码以增强 App

![](https://static2.appinn.com/images/202112/real_swift_large_2x.jpg)

对于一个想要入门编程，或者准备给孩子报编程培训班的家长来说，买一台 iPad，然后从 Swift Playgrounds 几个入门教程学起，可能是性价比更高的选择。

毕竟不是每个人都适合编程，如果你搞不定 Swift Playgrounds，那么至少还留下了一台 iPad 用于爱奇艺，但如果去培训班，可能就只有回忆了。

![](https://static2.appinn.com/images/202112/img_60d43f60c1c9-1.jpg)

Swift Playgrounds 免费，在应用商店获得：

- [Mac App Store](https://apps.apple.com/cn/app/id1496833156)
- [App Store](https://apps.apple.com/cn/app/id908519492)（iPad）

注：标题中“最易用”的表述并不包括适用于幼儿的 Scratch 编程。

## Topics

**分类目录:** [iOS](https://www.appinn.com/category/ios/?output_format=md), [iPad](https://www.appinn.com/category/ios/ipad/?output_format=md), [macOS](https://www.appinn.com/category/mac/?output_format=md)

**标签:** [Swift](https://www.appinn.com/tag/swift/?output_format=md), [twp](https://www.appinn.com/tag/twp/?output_format=md), [学习](https://www.appinn.com/tag/%e5%ad%a6%e4%b9%a0/?output_format=md), [编程](https://www.appinn.com/tag/%e7%bc%96%e7%a8%8b/?output_format=md)