Help Setting Up Project for Swift Student Challenge

I was wondering wether you have to create your full app as an Xcode app and then translate it into playgrounds? Because some of the submissions I have seen on YouTube are running on Xcode iPad emulators.

Answered by DTS Engineer in 860299022

I want to start out with an important caveat. This year’s Swift Student Challenge has closed. There’s no guarantee that next year’s Swift Student Challenge will follow the same rules, or indeed that there will be a Swift Student Challenge next year. So, while I can respond to your question now, I can’t promise that’ll actually be helpful in The Future™.

In recent years the Swift Student Challenge has require you to submit an app playground. You can create this in either Xcode or Swift Playgrounds.

App playgrounds are simple, but they do have limitations when you compare them to a real Xcode project. There’s nothing to stop you from doing the bulk of your work in an Xcode project and then converting that to an app playground for submission.

However, you have to be careful. Xcode projects support way more features than app playgrounds, so you don’t want to use a feature in your project only to find that it’s not supported in an app playground. Critically, you don’t want to find that out at the last minute. So, if you use this approach, I encourage you to periodically do the conversion and test your code in the app playground environment, just to make sure everything still works.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I want to start out with an important caveat. This year’s Swift Student Challenge has closed. There’s no guarantee that next year’s Swift Student Challenge will follow the same rules, or indeed that there will be a Swift Student Challenge next year. So, while I can respond to your question now, I can’t promise that’ll actually be helpful in The Future™.

In recent years the Swift Student Challenge has require you to submit an app playground. You can create this in either Xcode or Swift Playgrounds.

App playgrounds are simple, but they do have limitations when you compare them to a real Xcode project. There’s nothing to stop you from doing the bulk of your work in an Xcode project and then converting that to an app playground for submission.

However, you have to be careful. Xcode projects support way more features than app playgrounds, so you don’t want to use a feature in your project only to find that it’s not supported in an app playground. Critically, you don’t want to find that out at the last minute. So, if you use this approach, I encourage you to periodically do the conversion and test your code in the app playground environment, just to make sure everything still works.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Help Setting Up Project for Swift Student Challenge
 
 
Q