WWDC | The unofficial WWDC app for macOS | iOS library
kandi X-RAY | WWDC Summary
kandi X-RAY | WWDC Summary
Enjoy WWDC from the comfort of your Mac with the unofficial WWDC app for macOS. Whether you're (virtually) attending or not, you can access livestreams, videos and sessions during the conference and as a year-round resource. In partnership with CocoaHub, you can also use the app's Community tab to browse through Apple announcements, updates to the Swift language, new episodes from your favorite podcasts, community blog posts, and more. You may also search for your WWDC content in Raycast if you have both apps installed, just enable “Allow other apps access to your WWDC content” in preferences. ️ If you just want to download the latest release, go to the website.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WWDC
WWDC Key Features
WWDC Examples and Code Snippets
Community Discussions
Trending Discussions on WWDC
QUESTION
I am having trouble matching a string literal in start-pattern
in a custom instrument (see WWDC 2018 video Creating Custom Instruments) in Xcode’s Instruments.
For example, this start-pattern
works ...
ANSWER
Answered 2021-Jun-12 at 21:43If you use string literals in the start-pattern
, you must use printf-style
format string.
Thus, this will not work:
QUESTION
I have an application that uses body motion tracking like in WWDC 2019. I am trying to have a character one to one mapped within my body and replacing the character's head with my head.
Is it possible to hide the head joint to accomplish this feature?
...ANSWER
Answered 2021-Jun-04 at 12:47In RealityKit 2.0, I don't see any option to hide/remove/disable a .head
joint from the ARSkeleton3D
hierarchy. Most likely, the best way would be to disable the .head
joint in the virtual 3D character's skeleton.
QUESTION
I am dealing with a hard-to-reproduce memory crash, and troubleshooting using the guidance provided in the wwdc18 session 414 with additional clues from this so article
I have no issues symbolicating the stack trace (see at bottom), but when I try to disassemble the address from the last frame, I get this error from the lldb console:
...ANSWER
Answered 2021-May-21 at 17:51The DWARF file in the dSYM only has symbol information & debug information in it, it does not contain a complete copy of the binary's TEXT & DATA segments. If there is a copy of the binary next to the dSYM on the file system lldb will load that when it loads the dSYM. Or you can use the target modules add
command to tell lldb to load the binary into the current session.
QUESTION
I'm following this WWDC video and some sample code found online (regrettably Apple didn't include sample code in its WWDC talk), with this code below I am getting my CKShareParticipant
ok but this block modOperation.modifyRecordsCompletionBlock
is not returning at all, what am I doing wrong?
ANSWER
Answered 2021-May-13 at 19:44This ended up just being a typo, I just needed to delete this line operation.shareParticipantFetchedBlock = { participant in
under the declaration of modOperation
QUESTION
I am currently working with Metal's ray tracing API. I remembered I could pass data from an intersection function to the compute kernel that started the ray intersection process. After rewatching the WWDC 2020 talk Discover ray tracing with Metal
by Sean James (linked here), I found the relevant section around 16:13 where he talks about the ray payload.
However, I was curious where this payload is stored as it’s passed to the intersection function. When declared with the relevant [[ payload ]]
attribute in the intersection function, it must be in the ray_data
address space. According to the Metal Shading Language Specification (version 2.3), pg. 64, the data passed into the intersection function is copied in the ray_data
address space and is copied back out once the intersection function returns. However, this doesn't specify if, e.g., the data is stored in tile memory (like data in the threadgroup
address space is) or stored in the per-thread memory (thread
address space). The video did not specify this either.
In fact, the declarations for the intersect
function (see pg. 204) that include the payload term are in the thread
address space (which makes sense)
So where does the copied ray_data
"version" of the data stored in the thread
address space in the kernel go?
ANSWER
Answered 2021-May-13 at 16:57According to the answer I received on the Apple Developer Forums,
The way the GPU stores the payload varies between device and there is no particular size. All we can really say is that cost scales roughly with the size so you should minimize that payload. If the payload gets too large you may run into a dramatic performance drop.
QUESTION
Looking for some direction
I'm working with PDFKit. Everything is going fine but having trouble finding the methods (documentation / WWDC / elsewhere ) on how to stop text from drawing at a certain y position and start the next page. Any saved references or a snippet of code would be a great help.
...ANSWER
Answered 2021-May-06 at 06:35I dont know, wether this is the best way to implement your use case, but it worked for me. When adding a new line into the PDF_Context, I recalculate a variable the keeps tracking of the current content height of my PDF_Page. When it exceeds a certain value, I create a NEW page, set the content height to zero and go on filling, ...
And you might wanna find some good answers, practices HERE -> RayWenderlich.
QUESTION
The onFocusChange
closure in the focusable(_:onFocusChange:)
modifier allows me to set properties for the parent view when child views are focused, like this:
ANSWER
Answered 2021-Apr-15 at 02:02Try using @Environment(\.isFocused)
and .onChange(of:perform:)
in a ButtonStyle:
QUESTION
I am new to swift, this might be a stupid question but it confuses me a long time. Here is my code, I wrote this code by imitating the sandwich example from WWDC 2020's intro to swiftUI.
...ANSWER
Answered 2021-Apr-14 at 15:22The Text
type doesn't have an initializer that takes an Int
. Try this instead:
QUESTION
Is it OK to use SwiftUI in a playground when submitting the playground file for WWDC 2021 Scholarship?
So, Apple says they only accept the playground file, and it seems using SwiftUI makes me way easier to create a scene. But I'm not sure whether it is OK to do it, or will the tester grade me lower for using SwiftUI?
...ANSWER
Answered 2021-Apr-12 at 17:06Yes. I used SwiftUI last year and am using it again this year.
QUESTION
So my problem is that I am trying to align text from different HStacks. Different sized SFSymbols are causing this problem.
I know that AlignmentGuide can solve my problem but I'm not sure how to implement. If anyone can lend any insight I would be greatly appreciative!
I have watched the WWDC talk on this.
And this is the main screen that relates to this problem,
Yet I need a little clarification of to put it together.
Here is relevant code
...ANSWER
Answered 2021-Apr-09 at 05:36I was able to produce the output you want using these steps:
- Create a custom alignment enum based on AlignmentID and a static instance of it as shown in the slide you linked.
- Add a new VStack around just the part you want to custom align. Otherwise it can affect the alignment of the other components.
- Add an alignmentGuide() on the two Text's that you want to align at their leading edge.
Here is the updated code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WWDC
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page