User
Write something
swiftdata transferrable package is updated
Hi, I was able to add the package but the updated package no longer uses the .swiftDataTransferrable() modifier but rather uses a scene builder: SwiftDataTransferrableScene(schema: schema, exportedUTType: "com.YourTeam.persistentModelID") { WindowGroup { ContentView() } } I'm not quite clear on what it wants as schema I added the code as follows: var body: some Scene { SwiftDataTransferrableScene(schema: schema, exportedUTType: "com.YourTeam.persistentModelID") { WindowGroup (id: "ToDoWindow"){ //To do view ToDoView() .onAppear(perform: { openWindow(id: "InProgressWindow") openWindow(id: "DoneWindow") }) .environmentObject(taskRepository) } WindowGroup .defaultSize(width: 500, height: 500) WindowGroup(id: "InProgressWindow") { //In progress view InProgressView() .environmentObject(taskRepository) } .defaultSize(width: 500, height: 500) WindowGroup(id: "DoneWindow") { //Done view DoneView() .environmentObject(taskRepository) } .defaultSize(width: 500, height: 500) } } I'm not sure how to add schema to the code..
1
3
New comment 2d ago
swiftdata transferrable package is updated
Third party dependencies (can't find the one from tutorial)
Hi I'm currently going through Managing Third-Party Dependencies session but i can't find that dependency through search. Is there something else that I need to do? or a different way to get the package? Thanks!
1
4
New comment 10d ago
Course Access
Hi, how do I access the courses? They are locked except for Next Big Skill PDF
1
2
New comment Oct 16
open UI window from 3D object
I have a 3D model in Reality Composer Pro that I can open as a volumetric window via Swift UI code. However I'm not sure how I can then tap on that model to open a Swift View. Keen to do the following... 1. Open an independent Swift View via a 3D model interaction ( tap gesture ) 2. Open an anchored Swift View via a 3D model interaction ( where the View is connected to an entity in RCP ). I watched the diorama video ( https://www.youtube.com/watch?v=-1qdEYYqrkA&t=1239s ) but not quite making the connection. Hoping someone might have some basic code samples or projects that does the above. thanks.
1
7
New comment Oct 12
open UI window from 3D object
Barcode detection in AVP
I'm using this as a start point but not getting too far. Anyone have any tips ? VNDetectBarcodesRequest | Apple Developer Documentation
2
4
New comment Sep 14
1-11 of 11
Reality Uni
skool.com/realityuni
A community of dreamers learning and building for the spatial computing era.
Leaderboard (30-day)
powered by