Preparation for Swift Student Challenge

Helle everyone!
I was preparing for this year's Swift Student Challenge, and I have some questions about it. I know that Apple every year changes something in the Challenge, but I want to be ready. As I know for participating to the challenge I have to build a playground in Swift Playgrounds. So for that in Swift Playgrounds I have to use SwiftUI kit or build it in another way?
PS: if someone knows some Swift Playgrounds tutorials please suggest me here.

Thank you very much!

Answered by Graphics and Games Engineer in 703681022

Glad to hear it! Swift Playgrounds supports UIKit, (see this), so you should be able to use that if you want. You can also use SwiftUI as well. What 'other way' were you thinking of? I did the student challenge a while ago, and I remember it was pretty easy to convert a swift Xcode app project into a swift playground.

Accepted Answer

Glad to hear it! Swift Playgrounds supports UIKit, (see this), so you should be able to use that if you want. You can also use SwiftUI as well. What 'other way' were you thinking of? I did the student challenge a while ago, and I remember it was pretty easy to convert a swift Xcode app project into a swift playground.

Ok, so I can also build a project in Xcode and then convert it in Swift Playgrounds? I thought that Swift Playgrounds uses a different language from Xcode. So for be sure I must use SwiftUI, right?

Swift playgrounds uses the Swift language, and SwiftUI and UIKit are Swift frameworks that you can use in an app or a Swift playground. Xcode projects can contain code written in languages other than swift, like Objective C or C++. Those languages would not be supported in a Swift playground. If you have Xcode downloaded, you can create a Swift playground on your Mac through Xcode to get started. You can also create a Swift playground through the Swift Playgrounds app on iPad. Hopefully that clarifies things a bit.

Preparation for Swift Student Challenge
 
 
Q