Swift Student Challenge

RSS for tag

Ask questions and connect with other challenge applicants.

Swift Student Challenge Documentation

Posts under Swift Student Challenge tag

109 Posts
Sort by:
Post not yet marked as solved
2 Replies
494 Views
Hi Developers, I have a question about the Swift Student Challenge 2024. I'm wondering if the Apple Judges review the written answers before they view the Playground because I feel the judges would find it easier to use my app if they knew the different features that my Playground has by reading the Written Responses. I have created an Onboarding screen which highlights some main features but I don't want the judges to reread the information from the Onboarding Screen and the Written Responses as it will put off the Judges and waste their time! Thank you for reading and good luck to everyone participating :)
Posted
by
Post not yet marked as solved
1 Replies
387 Views
I am making an app that requires a good camera, such as the ones in the iPad Pro, but what devices will they be using when they test the app? If its a Mac, and iPad?
Posted
by
Post not yet marked as solved
1 Replies
835 Views
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.
Posted
by
Post not yet marked as solved
1 Replies
377 Views
Hello! I’m up to participate at the 2024 Swift Student Challenge but I have no idea if my university will be eligible for it to give me the chance to participate. How can I get more information about this? Is there a list of eligible universities? How is the process of project submission does anyone have screenshots? What I don’t want to happen is to get to finish my app and realize in the end that my university was never eligible for the challenge.
Posted
by
Post not yet marked as solved
1 Replies
275 Views
Hi to everyone! I want to make a slider like the one in iOS Health app that is used for mood logging. Do you have any idea for approach. The design is easy but problems arise with the functionality behind it. Thanks.
Posted
by
Post marked as solved
1 Replies
531 Views
Hi everyone! I'm getting ready to participate in the WWDC and Swift Student Challenge 2024 and need some advice regarding the identification process. My university ID card, known as 'Kartu Tanda Mahasiswa' in Bahasa Indonesia (Indonesian Language), contains my name, student ID, major, faculty, university name and logo, and a valid date. However, the ID card is entirely in Bahasa Indonesia. I'm wondering if it's still acceptable to use this card for the challenge, or if I need to provide an English translation alongside my submission? I would really appreciate any guidance or experiences from anyone who might have faced a similar situation. Thanks in advance for your help!
Posted
by
Post marked as solved
1 Replies
795 Views
I am currently working on my project for the Swift Student Challenge 2024. I am trying to implement a feature (.defaultScrollAnchor on a ScrollView in this instance). However, when trying to build/run the app in Xcode it says that .defaultScrollAnchor is only compatible with iOS 17. If I try to use .scrollPosition(initialAnchor: ), it also doesn't work (likely because it has been depreciated). I printed the system version as suggested in another post, and it showed the simulator was running iOS 17.2. Why can't the app build/run with this feature if the simulator is running iOS 17.2? MacBook Pro 14" 2021 M1 Pro Xcode Version 15.1 macOS Sonoma 14.0
Posted
by
Post not yet marked as solved
1 Replies
284 Views
These are the three views in my to do list project. I want to save data, so users' to do list will still be there after they launch the app. But whenever I click on the icon "check.circle' or "circle", they cannot switch immediately. They will switch after I launch the app again. I don't know how to let icon switched immediately. Thanks in advance!!! // Content View import SwiftUI struct ContentView: View { @EnvironmentObject var listViewModel: ListViewModel @State var newText: String = "" @State var detents: PresentationDetent = .medium @State var showSheet: Bool = false static var item1 = ItemModel(title: "First", isCompleted: false) var body: some View { NavigationView { List { ForEach(listViewModel.items) { item in ListRowView(item: item) .onTapGesture { listViewModel.updateItem(item: item). -> * } } .onDelete(perform: listViewModel.delete) .onMove(perform: listViewModel.moveItem) } .navigationTitle("To Do List") .navigationBarItems( leading: EditButton(), trailing: Button( action: { showSheet.toggle() }, label: { Text("Add") }) .sheet( isPresented: $showSheet, content: { SecondScreen() .presentationDetents([.height(500)]) } )) } } } // List View Model -> * func saveItems() { if let encodedData = try? JSONEncoder().encode(items) { UserDefaults.standard.set(encodedData, forKey: itemsKey) } } // Item Model import Foundation struct ItemModel: Identifiable, Codable { let id: String let title: String var isCompleted: Bool init(id: String = UUID().uuidString, title: String, isCompleted: Bool) { self.id = id self.title = title self.isCompleted = isCompleted } func updateCompletion() -> ItemModel {. -> * return ItemModel(id: id, title: title, isCompleted: !isCompleted) } }
Posted
by
Post not yet marked as solved
1 Replies
492 Views
Post not yet marked as solved
3 Replies
958 Views
I am trying to implement a ML model with Core ML in a playground for a Student Challenge project, but I can not get it to work. I have already tried everything I found online but nothing seems to work (the tutorials where posted long time ago). Anyone knows how to do this with Xcode 15 and the most recent updates?
Posted
by
Post not yet marked as solved
2 Replies
527 Views
Hey, I am the winner of WWDC20 Swift Student Challenge, I was recently checking out my account hoping to find Events tab to find my winner badge there, but the whole section is gone. I was wondering if anyone can help me in finding out the updated or similar version of the Events section in this website :)
Posted
by
Post marked as solved
3 Replies
528 Views
Hi, I stumbled about the Swift Student Challenge at Apples Website and now I have some questions. I've programmed some Apps in Xcode and I think one of them might be pretty god for this Challenge. Now I've read something about Swift Playgrounds and I'm confused. What's a Swift Playground? Do I need to create one or is it enough to have the App? and finally: I'm currently 14 and live in Germany. Is it possible to participate when I'm 14? And if not would it be a big thing to lets say forget my age and somehow think that I'm 16? Thanks a lot for answers
Posted
by
Post marked as solved
2 Replies
586 Views
Hi! I'm participating in the Swift Student Developer competition this year, which requires developers to present a Swift Playground to Apple. I'm used to making normal Xcode projects, and am having trouble finding a Swift Playgrounds version of the Copy Bundle Resources build phase (I don't think it is possible to edit build phases in a Swift Playground). I created a '.usdz' file from a 3D model I designed using Reality Converter and added it to the root of my Swift Playground project. I access the file programmatically from the App Bundle like so (fileName is a non-nullable String): guard let path = Bundle.main.path(forResource: fileName, ofType: "usdz") else { fatalError("Couldn't find the USDZ file.") } At runtime, this throws the Couldn't find the USDZ file error, as the file isn't being copied to the App Bundle. In a normal Xcode project, according to this StackOverflow question, I can get xcodebuild to copy my file over by specifying it in the Copy Bundle Resources build phase, however, in a Swift Playground (required by Apple), I am restricted from modifying Xcode's buildphases (the option is not present when clicking on the default target - the only options are General, Signing & Capabilites and Package Dependencies). How can I ensure that resources are copied over to the App Bundle at buildtime in a Swift Playground? If this is not possible, are there any other options besides using the Bundle.main.path API for accessing the USDZ file (to load a QuickLook preview) at runtime?
Posted
by
Post not yet marked as solved
1 Replies
351 Views
Hello, I have been working on my submission for the Swift Student Challenge and have been searching for a solution for how to complete a trivial task related to dates and calendars in Swift. After searching, I found an answer on Stack Overflow that works perfectly for my project. Am I allowed to submit a playground that includes this code or do I need to rewrite or reinvent the code somehow? Thanks
Posted
by