Apple Developer

Search documents
WWDC25: Explore the new design
Apple Developer· 2025-06-13 21:01
A systematic approach means designing with intention at every level, ensuring that all elements, from the tiniest control to the largest surface, are considered in relation to the whole. Our family of system colors has been adjusted in subtle but meaningful ways across Light, Dark and Increased Contrast appearances, so that they work in harmony with Liquid Glass, improving hue differentiation, without loosing the optimistic spirit that makes them uniquely Apple. Typography has been refined to strengthen cla ...
WWDC25: Discover guided generation
Apple Developer· 2025-06-13 19:02
So, what is Generable and is that even a word. Well, yes, it is. Generable is an easy way to let the model generate structured data, using Swift types The macro generates a schema at compile time, which the model can use to produce the expected structure. The macro also generates an initializer, which is automatically called for you when making a request to a session.So then we can generate instances of our struct. Like before, we’ll call the respond method on our session. But this time pass the generating ...
Customize your app's capture controls
Apple Developer· 2025-06-13 17:01
As I interact with Camera Control, note how zoom is disabled in this new configuration. Let’s change the control. I’ll swipe out on the overlay, and now I can checkout my picker in the list.I’ll scroll over to it and press lightly to display its options. Now I can select each effect in turn, and watch as they play in the preview. Rock on. ...
WWDC25: Explore 3D Swift Charts
Apple Developer· 2025-06-12 23:00
Chart3D takes familiar concepts from 2D charts, such as scatter plots, and brings them into full 3D. To use a 3D chart, I'll change Chart to Chart3D. PointMark works great in Chart3D, and it now takes a Z value.Here, I use the Beak Length. I'll set the Z-axis label to "Beak Length" as well. That's it.With a few lines of code and Chart3D, I can immediately see the differences between the penguin species in a fun and interactive way. I can use simple gestures to rotate the chart to precise angles and see thre ...
WWDC25: Support multilingual experiences
Apple Developer· 2025-06-12 21:00
In iOS 26, Siri is personal, proactive, and can offer intelligent suggestions to help set up my device in my own languages. Using on-device intelligence, Siri can recognize that eventhough I set up my iPhone in English, I text, listen, and browse in Arabic as well. So when I tap on Siri’s suggestion, I can choose to switch my iPhone language to Arabic, add an Arabic-English bilingual keyboard, and ask to get content recommendations such as news, music, and podcasts in my language.This experience applies to ...
WWDC25: Render complex scenes with MetalFX
Apple Developer· 2025-06-12 19:00
Apple devices have incredible, high resolution screens that are perfect for showcasing your amazing games. MetalFX allows your app to deliver high resolutions at even greater refresh rates when rendering complex scenes with realistic reflections. Rendering high resolution images can consume the GPU for a significant period of time.Instead, your app can render low resolution images and use MetalFX to upscale them. The combined time to render your final image is reduced… …and that means your app can save time ...
SwiftUI’s Rich Text Editor
Apple Developer· 2025-06-12 17:01
TextView now supports AttributedString. By passing a binding to an AttributedString into TextEditor, We’ve allowed our friends to comment on our pictures with rich text using the built-in text formatting controls. Awesome.Do you smell that. Smells like delicious rich text in SwiftUI. ...
WWDC25: AppKit toolbars in the new design system
Apple Developer· 2025-06-11 23:09
The new design system transforms the appearance of a Mac window, altering the window shape and framing its key structural regions in glass. One of those regions is the toolbar. In the new design system, toolbar elements are placed on a glass material, and the entire toolbar appears to float above the content, enhancing the sense of hierarchy within the window.The glass also brings controls together in logical groups. Since they all represent singular actions, AppKit automatically groups multiple toolbar but ...
WWDC25: Explore 360-degree video for visionOS
Apple Developer· 2025-06-11 21:02
360° video takes things a step further, filling the entire world with content. With 360° video, the content literally surrounds the viewer, giving them the freedom to look wherever they like. Here’s an example of a 360° video captured underneath the rainbow at Apple Park.The viewer can look around at any angle and feel like they are right there beneath the rainbow. Everything looks just as it would if they were there in person. To achieve this, the 360° video is wrapped onto a sphere completely surrounding ...
WWDC25: Create shared experiences in Vision Pro
Apple Developer· 2025-06-11 19:00
There’s something magical about being able to experience virtual content with people halfway across the world. We have seen this capability unlock remarkable use cases, ranging from enterprise, productivity, to entertainment, and more. But what if you want to bring someone who’s physically next to you into a spatial experience in Vision Pro.In visionOS 26, Nearby Window Sharing enables you to build shared spatial experiences for people co-located in the same room. Like Defenderella by Rock Paper Reality, a ...