How do I draw pictures
Asked on 07/30/2024
1 search
To draw pictures, you can use various tools and APIs introduced at WWDC. Here are some relevant sessions and features that can help you get started:
-
Build a spatial drawing app with RealityKit:
- This session covers how to use RealityKit's 3D capabilities with SwiftUI and ARKit to create a spatial drawing app. You can configure the shape and color of your brush, and use spatial tracking to understand hand and environment data.
- Build a spatial drawing app with RealityKit (00:01:05)
-
Squeeze the most out of Apple Pencil:
- This session discusses new features in the tool picker, how to build custom tools, and integrate them with Apple Pencil Pro. It also covers how to use the PKToolPicker with your drawing canvas.
- Squeeze the most out of Apple Pencil (00:01:16)
-
What’s new in AppKit:
- This session introduces the Image Playground app, which allows users to create images and integrate them into your app. It also covers how to adopt custom emoji and use them in your app.
- What’s new in AppKit (00:00:52)
Relevant Sessions:
- Build a spatial drawing app with RealityKit
- Squeeze the most out of Apple Pencil
- What’s new in AppKit
These sessions provide a comprehensive guide on how to draw pictures using different tools and APIs provided by Apple.

Build a spatial drawing app with RealityKit
Harness the power of RealityKit through the process of building a spatial drawing app. As you create an eye-catching spatial experience that integrates RealityKit with ARKit and SwiftUI, you’ll explore how resources work in RealityKit and how to use features like low-level mesh and texture APIs to achieve fast updates of the users’ brush strokes.

Squeeze the most out of Apple Pencil
New in iOS 18, iPadOS 18, and visionOS 2, the PencilKit tool picker gains the ability to have completely custom tools, with custom attributes. Learn how to express your custom drawing experience in the tool picker using the same great tool picking experience available across the system. Discover how to access the new features of the Apple Pencil Pro, including roll angle, the squeeze gesture, and haptic feedback.

What’s new in AppKit
Discover the latest advances in Mac app development. Get an overview of the new features in macOS Sequoia, and how to adopt them in your app. Explore new ways to integrate your existing code with SwiftUI. Learn about the improvements made to numerous AppKit controls, like toolbars, menus, text input, and more.