WWDC22 Community

RSS for tag

Engage with fellow WWDC22 participants.

Posts under WWDC22 Community tag

5 Posts
Sort by:
Post not yet marked as solved
1 Replies
617 Views
I try to make app intent but i'm beginner at swift. so I watched wwdc vedio : Dive into App Intents. - https://developer.apple.com/videos/play/wwdc2022/10032 But i don't know what does 'Navigator' means at the code. Navigator used together with shared, than navigator is used ad singleton? Does anyone have whole sample code along with thins video? struct OpenCurrentlyReading: AppIntent { static var title: LocalizedStringResource = "Open Currently Reading" @MainActor func perform() async throws -> some IntentResult { Navigator.shared.openShelf(.currentlyReading) return .result() } static var openAppWhenRun: Bool = true }
Posted Last updated
.
Post not yet marked as solved
1 Replies
1k Views
I'm looking for a way to check user Screen Time and trigger a notification after a specified amount of time on certain apps. I have the code from WWDC21 but I was wondering if I could get the code sample for the Worklog app created for WWDC22. Would really help as a reference point for building my project. Thank you!
Posted
by blanny21.
Last updated
.
Post not yet marked as solved
3 Replies
1.6k Views
About the problem I built a Unity project for the visionOS platform and opened it on Xcode-beta 4. When I tried to run the project, the build failed and the errors following appeared: Errors Building for 'xrOS-simulator', but linking in object file (/<Path to my Unity Xcode project>/Libraries/libiPhone-lib.a[5](MeshSkinningNEON64_blzfc.o)) built for 'xrOS' Linker command failed with exit code 1 (use -v to see invocation) I have no idea what causes the issue and how to solve it. Is there anybody to find the cause and the solution for the problem? Note Unity has nothing to do with the matter, I guess, because the build on Unity is always successfully completed. Environment Unity 2022.3.5f1 that has visionOS Build, iOS Build, and Mac Build modules. Xcode-beta 4
Posted
by jin-nash.
Last updated
.
Post not yet marked as solved
1 Replies
614 Views
Today I was searching for some watchOS code, and came across this WWDC22 demo. But I found out there are some quote sign bugs in the demo code (go to the code section and scroll down) like this: ... y: .value( “Completed", dataPoint.itemsComplete) ) ... It is so obvious that the code block even displays the code after those signs with a different color. There are 4 such code bugs in that page. Looks like the guy who wrote the code pasted that for 3 times and never noticed that lol.
Posted
by CrisisLio.
Last updated
.