can I run my existing Xcode projects on the iPad Pro with Swift
Playgrounds (4)?
If you’re talking about .xcodeproj documents, then the answer is “No.” Swift Playgrounds will not open .xcodeproj documents. It uses its own format, .swiftpm, for app projects.
Also:
-
You can create and work with .swiftpm documents in Xcode. To create a new one, choose File > New > Project > iOS > Swift Playgrounds App.
-
The Swift language and iOS APIs are the same in both environments, so your code should move across.
-
Swift Playgrounds does not support Interface Builder, so if you’re targeting UIKit with .nib files or storyboards you won’t be able to use those.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"