Please help me! I don't know how to write this.I tried many times, and I think it's right, but it always wrong.PLEASE!!
Swift Student Challenge
RSS for tagDiscuss Swift Student Challenge.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi everyone 👋,
I’m new to the Apple Developer Forums and just getting started with building apps for iOS/macOS. I’ve explored the documentation but wanted to introduce myself and ask for some advice from experienced developers.
Currently working on:
An iOS app using SwiftUI
Learning more about integrating Sign in with Apple
Exploring best practices for App Store submission
Here’s what I’d like to know:
What is the recommended approach to saving minimal app state before termination?
Are there SwiftUI lifecycle metho18336114753ds or SceneDelegate hooks I should be aware of?
Is UserDefaults the best tool for small state preservation in this context?
Would love to hear from anyone who’s implemented sim18336114753ilar behavior — even a high-level suggestion would help.
Thanks!
Harjeet Singh
what is that makes the TLS be the TLS/SErver ?
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
App Tracking Transparency
MetricKit
Files and Storage
IOBluetooth
For the swift student challenge I was hoping to use swift data, I found that since it's a playground app, in package.swift the defaults is set to iOS 16 which means you can't use swift data. I changed it to iOS 17 and everything works but I want to know if that goes against the rules in anyway, changing th bios version in package.swift? This was the code I changed in package.swift.
let package = Package(
name: "ProStepper",
platforms: [
.iOS("17.0")
],
Hello, I’m developing my project for the Swift Student Challenge and I have some questions about the platform it will be tested on. If I create an iOS app that uses ARKit, for example, will it be evaluated on a real iPhone or only in a simulator on a Mac? I ask this because some functionalities, such as camera-based augmented reality, don’t work properly in the simulator.
I’d like to better understand the guidelines to ensure my project functions correctly during the evaluation.
Thank you!
I was developing my app on Xcode and I saw in requirements it says “your submission must be an app playground (.swiftpm)
I reckon I can develop in Xcode and then copy those files in playgrounds app, make some changes, for it to work.
also I made my project in landscape mode in Xcode, in playgrounds can I lock display orientation through package.swift file or I should continue making me app in landscape mode and ask players to change their viewing orientation via a popup?
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
Swift Student Challenge
Swift Playground
Xcode
It was mentioned in the Swift Student Challenge that outstanding winners will have the opportunity to visit Apple Park in the United States. However, as a challenger from China who is not currently in the U.S., this means that if I receive the outstanding award, I will need to apply for a visa to travel to Apple Park. Since I am under 18, my guardian would also need to apply for a visa. Therefore, I would like to know if Apple provides visa assistance for outstanding winners and their guardians from China, or if we are responsible for applying for the visas on our own.
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
Swift Student Challenge
Swift
Swift Playground
DocC
Hi there, I intend to submit an app playground for the Swift Student Challenge this year. I am currently using the Swift Playgrounds app to develop a playground. Now I understand that when submitting I can choose the option of having my app playground to be tested on Swift Playgrounds on either iPadOS or macOS. But I would also like to know on which screen size is my app going to be tested.
Let's say I want my app playground to run on macOS, now is there a way to also select the MacBook model, like 14-inch or 16-inch? This would give the participants a better idea of where the app playground will be tested.
For the SSDC submission, the app playground must run on Swift Playgrounds 4.5+ or Xcode 16+.
Key questions:
In Swift Playgrounds, is the app tested on iPadOS or macOS?
In Xcode 16+, is the playground tested using Mac Catalyst, an iPad simulator, or an iPhone simulator? The submission form only mentions a simulator but doesn’t specify which one.
Can I build an app primarily for iPhone (portrait mode), or is it better to focus on iPad (landscape mode) if that’s the expected testing environment in all cases?
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
Swift Student Challenge
Swift
Swift Playground
Hello everyone,
I’m currently developing a Playground App for the Swift Student Challenge, and its core functionality relies heavily on Shortcuts Automation, App Shortcuts, and interactions with the Focus Mode status (e.g., reading Focus Status or execute Focus Filter).
Before finalizing my submission, I’d like to clarify whether these features will function as expected during the review process. Specifically:
Shortcuts Automation: My app uses custom shortcuts to trigger actions within the Playground. Will reviewers be able to test these shortcuts seamlessly, or do I need to provide explicit instructions for enabling/setting them up?
App Shortcuts: The app integrates system-level App Shortcuts (via App Intents). Are these supported in the test environment, and will reviewers see them during testing?
Focus Status Interaction: The app dynamically responds to changes in the device’s Focus Mode (e.g., adjusting UI and function based on FocusStatus). Does the evaluation environment allow access to Focus Status data, and are there restrictions on simulating Focus Mode changes?
I want to ensure these features are testable and don’t lead to unexpected issues during review. Any insights or advice from past participants, mentors, or Apple experts would be greatly appreciated!
Thank you in advance for your guidance!
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
Swift Student Challenge
Shortcuts
App Intents
Focus
I am attempting to use the AVSpeechSynthesizer to include text to speech in my Swift Playgrounds project, but when I attempt to use it on my IPhone i get the following errors:
It works just fine on the simulator, but no audio is produced when I run it on-device. Is there a way to set this "bundle display name" within Swift Playgrounds, or are there any workarounds?
My code:
import AVFoundation
class Speaker {
let synthesizer = AVSpeechSynthesizer()
func speak() {
let utterance = AVSpeechUtterance(string: "Test, I am the speaker")
synthesizer.speak(utterance)
}
}
Hello!
i developed an app for the Swift Student Challenge and submitted it, can I publish it to the app store before it is judged.