I don't really understand the exact meaning of "Build your app playground" on the Apple Swift Student Challenge home page. Does it mean to build a game app with a normal Xcode SwiftUI project?
Or is there a platform called "App Playground"?
So we cannot make an app that is not a game or an app that is not made with a platform called "App Playground" ?????????
I'm confused.
If you can use Japanese, it would be helpful to answer in Japanese.
Swift Student Challenge
RSS for tagDiscuss Swift Student Challenge.
Post
Replies
Boosts
Views
Activity
Hey Developers! Help!
I was going through the "Eligibilty" doc for swift student challenge (https://developer.apple.com/swift-student-challenge/eligibility/), where it is mentioned to "Be registered for free with Apple as an Apple developer or be a member of the Apple Developer Program".
Please guide me how do we do this free egisteration as the only option I can see on the devleoper app is to pay for it.
I started playing around with the navigationDestination modifier. But currently it always re-routes me back to the list with the entries. Does someone have an idea why this happens?
MainView
NavigationStack {
Form {
Section {
ProgressRing(percentage: $percentage)
Text("1 of 3 compleatet")
.font(.title2)
.fontWeight(.medium)
.foregroundStyle(Color.accentColor)
}
.listRowBackground(Color.clear)
.listRowSeparator(.hidden)
.frame(maxWidth: .infinity ,alignment: .center)
.padding()
Section("Daily tasks") {
NavigationLink {
EmptyView()
} label: {
Label("Log mood", systemImage: "seal")
}
NavigationLink {
QuoteView()
} label: {
Label("Quote Gallery", systemImage: "seal")
}
NavigationLink {
GratitudeListView()
} label: {
Label("Writing down gratitude", systemImage: "seal")
}
}
}
.navigationTitle("Hello, \(users.first?.name ?? "User")")
}
List {
ForEach(gratitudes, id: \.self) { gratitude in
NavigationLink(value: gratitude) {
VStack(alignment: .leading) {
Text(gratitude.gratitude1)
Text(gratitude.createdAt, style: .date)
}
}
}
.navigationDestination(for: Gratitude.self, destination: { gratitude in
GratitudeUpdateView(gratitude: gratitude)
})
}
.navigationTitle("Gratitude")
.toolbar(.hidden, for: .tabBar)
.overlay(alignment: .bottom) {
NavigationLink {
GratitudeAddView()
} label: {
PlusButton()
}
}
Hey I started working on an idea for the swift student challenge but I created a xcode project instead of a playground, is this okay or does it have to be a playground? Thank you !
Do the students have a specific topic for the app they are going to make? (If so, will it be given on February 5, 2024?)
The students are expected to submit their apps within three weeks from February 5, 2024, am I correct?
The apps the students are creating are expected to be "iPhone" Swift Playground apps, am I correct?
Do the students have a specific topic for the app they are going to make? (If so, will it be given on February 5, 2024?)
The students are expected to submit their apps within three weeks from February 5, 2024, am I correct?
The apps the students are creating are expected to be "iPhone" Swift Playground apps, am I correct?
Hi, Developers. The project I am working on includes SwiftData for storing information. When inspecting, code-wise everything looks as it should, however, sometimes when interacting with data, the app crashes. The confusing part is that it happens sometimes. On one simulator, it might crash, while on another it might not. Should I reinstall the app it seems to be working fine again. Do you have and ideas. Any advice is appreciated. Take care!
Hi! I just read the updated terms and conditions, and I have a question regarding the submission requirements:
Your app playground must be fully functioning, and be built with and run on Swift Playgrounds 4.4 on iPadOS 16 or macOS 13.5 or Xcode 15 on macOS 13.5 or later. You may incorporate the use of Apple Pencil.
This means that the app can be built on iPadOS 17 / macOS 14 as well (and perhaps add some features specific to iPadOS 17 / macOS 14 or later using features such as SwiftData?) but does the app need to be fully compatible with earlier versions as well?
I think this means it should be compatible with all versions from iPadOS 16 / macOS 13.5 onwards?
Swift Student Challenge 2024:
Swift Student Challenge main page
Swift Student Challenge > Eligibility
Swift Student Challenge > Terms and Conditions, aka the fine print
News and Updates > Announcing the Swift Student Challenge 2024
News and Updates > Swift Student Challenge applications open February 5
News and Updates > Apply for the Swift Student Challenge now through February 25
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I have a few questions about the Swift Student Challenge development tools.
What is the difference between swift playground and Xcode playground?
Also, is it possible to develop vision OS in the playground?
Is it permissible to resubmit my previously rejected Swift Student Challenge project this year? I plan to make substantial changes, adding more functionality to enhance interactivity. I truly believe that my project idea has the potential to win, now that I have had the opportunity to learn more about Swift and SwiftUI over the past year.
Hi,
On the Swift Student Challenge submission page the dropdown for “Which software should we use to run your app?” lists “Xcode 15 on macOS 13.5 or later” as one of the options.
Is it ok to submit an Xcode Playground that targets iPadOS (and not macOS)? And then this would just be tested in the iPad Simulator?
Thanks!
Hi Developers,
How do I pass a Reality Kit file to use the Reality Kit file for the AR experience:
import SwiftUI
import RealityKit
struct HelpAR : View {
var body: some View {
ARViewContainer().edgesIgnoringSafeArea(.all)
}
}
struct ARViewContainer: UIViewRepresentable {
func makeUIView(context: Context) -> ARView {
let arView = ARView(frame: .zero)
// Create a cube model
let mesh = MeshResource.generateBox(size: 0.1, cornerRadius: 0.005)
let material = SimpleMaterial(color: .gray, roughness: 0.15, isMetallic: true)
let model = ModelEntity(mesh: mesh, materials: [material])
model.transform.translation.y = 0.05
// Create horizontal plane anchor for the content
let anchor = AnchorEntity(.plane(.horizontal, classification: .any, minimumBounds: SIMD2<Float>(0.2, 0.2)))
anchor.children.append(model)
// Add the horizontal plane anchor to the scene
arView.scene.anchors.append(anchor)
return arView
}
func updateUIView(_ uiView: ARView, context: Context) {}
}
#Preview {
HelpAR()
}
Hi, I want to add a SwiftData model to my Swift Playground in Xcode 15.2, but I get errors related to iOS version, has anyone encountered this? Thanks
import Foundation
import SwiftData
struct testStruct: Identifiable {
let id = UUID()
var question: String
var answer: String
}
@Model
class testClass: Identifiable {
let id = UUID()
var question1: testStruct
var question2: testStruct
var question3: testStruct
var question4: testStruct
var question5: testStruct
init(question1: testStruct, question2: testStruct, question3: testStruct, question4: testStruct, question5: testStruct) {
self.question1 = question1
self.question2 = question2
self.question3 = question3
self.question4 = question4
self.question5 = question5
}
}
Hi? I want to participate Swift Student Challenge. And I am wondering is it okay to make an app which can access album?
I read Terms and Conditions and found no relevant content. Can anyone tell me whether it is possible? Thank you.
Hi Developers,
I got a question about Reality Composer Project. How do I compress a Reality Composer Project as mine is showing up to 125MB. The file size limit is 25 MB for the Swift Student Challenge
Thanks :)
Hello dear developers, I am planning to make a navigation application for the swift student challenge, this navigation application will work with the internet via apple maps, is it suitable for this swift student challenge competition?
Hey everyone, I'm making a Playground targeting specifically iPadOS. I've read the Terms and Conditions and it says it will be run on iPad OS 16 and newer. Does anyone know if this means 16.6 or truly 16.0? I have a view modifier which is only supported in 16.4 in later.
Hi everyone! I'm working on an app to submit to the Swift Student Challenge this year and wanted to get some feedback on my plan to use MapKit.
I know Apple is pretty open to using any of their frameworks for the contest. But I wanted to see if anyone had insights on whether my use of MapKit would comply with the contest rules and eligibility criteria.
Any thoughts or advice you have on properly leveraging MapKit for my submission would be much appreciated! I want to make sure I avoid any issues since this framework is so integral to my app idea. Let me know if you have built a map-based app for Swift Student Challenge before as well. Thanks!
My app looks the best when it's run on an iPhone simulator, since that is what I was targeting from the start. I’m aware that an Xcode app playground submission will be run on MacOS in the Simulator only, but is there a way for me to limit/ask the Simulator to only use the iPhone?
I'm seeing a few posts on this forum giving the impression that submissions will primarily be run on either the iPad, or Swift Playgrounds on Mac.
Furthermore, my app depends a lot on some of the new iOS 17 features (SwiftData, @Observable macros, etc.)
I followed this thread to modify my Package.swift file to target iOS 17 and above only. Is this still a good idea, or should I instead wrap the whole app in a if #available version check?