View in English

  • Apple Developer
    • 今すぐ始める

    「今すぐ始める」を詳しく見る

    • 概要
    • 学ぶ
    • Apple Developer Program

    最新情報

    • 最新ニュース
    • Hello Developer
    • プラットフォーム

    プラットフォームを詳しく見る

    • Appleプラットフォーム
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    特集

    • デザイン
    • 配信
    • ゲーム
    • アクセサリ
    • Web
    • Home
    • CarPlay
    • テクノロジー

    テクノロジーを詳しく見る

    • 概要
    • Xcode
    • Swift
    • SwiftUI

    特集

    • アクセシビリティ
    • AIと機械学習
    • App Intent
    • Apple Intelligence
    • ゲーム
    • セキュリティ
    • Xcode Cloud
    • コミュニティ

    コミュニティを詳しく見る

    • 概要
    • 「Appleに相談」イベント
    • コミュニティによるイベント
    • デベロッパフォーラム
    • オープンソース

    特集

    • WWDC
    • Swift Student Challenge
    • デベロッパストーリー
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Center
    • ドキュメント

    ドキュメントを詳しく見る

    • ドキュメントライブラリ
    • テクノロジー概要
    • サンプルコード
    • ヒューマンインターフェイスガイドライン
    • ビデオ

    リリースノート

    • 注目のアップデート
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • ダウンロード

    ダウンロードを詳しく見る

    • すべてのダウンロード
    • オペレーティングシステム
    • アプリ
    • デザインリソース

    特集

    • Xcode
    • TestFlight
    • フォント
    • SF Symbols
    • Icon Composer
    • サポート

    サポートを詳しく見る

    • 概要
    • ヘルプガイド
    • デベロッパフォーラム
    • フィードバックアシスタント
    • お問い合わせ

    特集

    • アカウントヘルプ
    • App Reviewガイドライン
    • App Store Connectヘルプ
    • 近日導入予定の要件
    • 契約およびガイドライン
    • システムステータス
  • クイックリンク

    • イベント
    • ニュース
    • Forum
    • サンプルコード
    • ビデオ
 

ビデオ

メニューを開く メニューを閉じる
  • コレクション
  • すべてのビデオ
  • 利用方法

その他のビデオ

  • 概要
  • Summary
  • 「SwiftUI」グループラボ

    オンラインで開催されるグループラボに参加し、WWDC26の発表内容への理解を深めましょう。このグループラボでは、SwiftUIを対象に、WWDC期間中の重要な発表についてAppleのエンジニアやデザイナーに質問したり、アドバイスをもらったり、ディスカッションに参加したりできます。英語で開催されます。

    関連する章

    • 0:00:00 - Introduction
    • 0:02:58 - With 1M+ reorderable items, ForEach still traverses the whole collection on first display and every count/order change, causing slowdowns. Any plan for a fast native SwiftUI API?
    • 0:04:45 - In iOS 27 beta 1 it's not possible to create a custom transition — NavigationTransition is publicly empty. Will this come in a later beta?
    • 0:07:21 - With Coding Intelligence and agentic models in Xcode, how can we use it to build Liquid Glass views? Sometimes .glassEffect on buttons doesn't look as polished as it should.
    • 0:14:06 - What's the best way to manage screen sizes now — vertical, horizontal, split views, and the unlimited window sizes we can have? What API should we use across iOS versions?
    • 0:22:00 - Any tips for properly learning data management and passing data between views? What projects help strengthen this?
    • 0:30:38 - I've heard I shouldn't use an if {} to conditionally hide elements (e.g. show text only at 9:41). What's Apple's recommendation?
    • 0:38:13 - What's the concrete cost of type erasure (AnyView) in a deeply nested or frequently updating view — when should I worry, and when not?
    • 0:39:30 - Any tips for making SwiftUI layouts more adaptable now that Xcode previews are resizable?
    • 0:42:29 - What's your advice for presenting full-screen SwiftUI overlays on top of everything (including sheets) without interfering with modal presentation?
    • 0:47:40 - What's the best way to build a pure-SwiftUI custom control (like a dropdown) that expands on top of other elements and is interactive, without impacting their layout?
    • 0:54:45 - It's known that breaking large SwiftUI views into smaller views benefits performance, but how small should they be? Best practice for struct views vs. @ViewBuilder computed properties?

    リソース

      • HDビデオ
      • SDビデオ
  • このビデオを検索
    • 0:00:00 - Introduction
    • Engineers from the SwiftUI team introduce themselves and set up a session covering large collections and ForEach performance, navigation transitions, adaptive layout across screen sizes, data flow, conditional views, AnyView cost, custom controls and overlays, and building views with Liquid Glass.

    • 0:02:58 - With 1M+ reorderable items, ForEach still traverses the whole collection on first display and every count/order change, causing slowdowns. Any plan for a fast native SwiftUI API?
    • The team is aware of this and looking into it — traversing the entire collection on updates shouldn't be necessary, and they acknowledged it as a real limitation for very large reorderable collections. File a Feedback with your use case; for now, extremely large datasets may still need careful structuring to avoid full-collection traversal on every change.

    • 0:04:45 - In iOS 27 beta 1 it's not possible to create a custom transition — NavigationTransition is publicly empty. Will this come in a later beta?
    • NavigationTransition is a protocol SwiftUI uses to expose conforming, framework-provided transitions rather than one you fill in yourself in beta 1. Use the built-in transitions the API vends; if you need a specific custom transition, file Feedback describing it, since the surface may expand in later betas.

    • 0:07:21 - With Coding Intelligence and agentic models in Xcode, how can we use it to build Liquid Glass views? Sometimes .glassEffect on buttons doesn't look as polished as it should.
    • The new skills shipping with Xcode give the coding agent accurate insight into current APIs like Liquid Glass and work with the model of your choice, so they're worth enabling — and you can export them for use in other agentic systems. On glass itself: avoid Liquid Glass in the content area of a view, since with nothing scrolling underneath there's nothing for it to refract and the simpler flat design is usually better; glass is for controls hugging the content layer. For a glass button, reach for the glassButtonStyle (or glassProminent) rather than applying a raw glassEffect — glassEffect on a button gives you a button sitting on glass, which won't look right — and pair it with buttonBorderShape to get the shape you want. Toolbar and navigation-bar buttons already get the right glass treatment automatically, so you don't need to add it there; new this year, sharedBackgroundVisibility(.hidden) and a content-margin-removal API let you drop the glass (or just its padding) for cases like a profile photo in the toolbar.

    • 0:14:06 - What's the best way to manage screen sizes now — vertical, horizontal, split views, and the unlimited window sizes we can have? What API should we use across iOS versions?
    • Don't hard-code specific window sizes — that's a losing battle. Design layouts that work at any size and adapt fluidly. Use size classes (compact vs. regular, vertically/horizontally) to make layout decisions, and lean on adaptive containers so your UI responds to the full continuum of window and screen sizes rather than targeting fixed dimensions.

    • 0:22:00 - Any tips for properly learning data management and passing data between views? What projects help strengthen this?
    • At its core, SwiftUI data management is about identifying pieces of information and choosing where they should live and how they flow. Learn the tools — @State for view-owned state, bindings to share mutable access, and @Observable/Environment for passing data down — by building small apps that force you to move data between screens, rather than studying the wrappers in isolation.

    • 0:30:38 - I've heard I shouldn't use an if {} to conditionally hide elements (e.g. show text only at 9:41). What's Apple's recommendation?
    • An if that swaps views changes the view's identity and structure, which can cost more than necessary for simple show/hide. Prefer keeping the element in the hierarchy and controlling its visibility — for example with opacity or the hidden modifier, or conditional content that preserves identity — so SwiftUI can animate and update efficiently instead of inserting/removing the view.

    • 0:38:13 - What's the concrete cost of type erasure (AnyView) in a deeply nested or frequently updating view — when should I worry, and when not?
    • AnyView erases the type SwiftUI would otherwise use to diff efficiently, so it adds overhead and reduces the framework's ability to optimize updates — most impactful in deeply nested or frequently updating views. It's fine where you genuinely can't know the view type at compile time; just avoid it on hot paths where a concrete type or @ViewBuilder would let SwiftUI update more efficiently.

    • 0:39:30 - Any tips for making SwiftUI layouts more adaptable now that Xcode previews are resizable?
    • Use the resizable previews to exercise your layout across sizes as you build. Design for flexibility — avoid fixed frames, use size classes and adaptive containers, and let content drive layout — so your UI holds up across the full range of window sizes the resizable preview now lets you check quickly.

    • 0:42:29 - What's your advice for presenting full-screen SwiftUI overlays on top of everything (including sheets) without interfering with modal presentation?
    • There may be no clean way to do this purely in SwiftUI today. A full-screen cover works when you present it from the right point in the hierarchy, but getting something reliably above other modal presentations is genuinely hard. The pragmatic approach is interop: drop down to UIKit and create a new UIWindow (with a UIHostingController root) for a HUD or a login-over-the-app case, positioning it above everything. But be careful — with multiple windows it's last-UIWindow-wins, which is a bug waiting to happen once something else also needs to be always on top. So question the design brief first: a less disruptive flow (for example rewinding the navigation stack to a base view and restoring it after login) is often better than forcing a global overlay. File feedback with your use case so the gaps can be closed.

    • 0:47:40 - What's the best way to build a pure-SwiftUI custom control (like a dropdown) that expands on top of other elements and is interactive, without impacting their layout?
    • First ask whether it needs to be fully custom — an existing UIKit/AppKit control may already do it. If custom, present the expanding portion as an overlay so it draws above sibling views without participating in their layout, and manage its own interaction/state, rather than inserting it inline where it would push other elements around.

    • 0:54:45 - It's known that breaking large SwiftUI views into smaller views benefits performance, but how small should they be? Best practice for struct views vs. @ViewBuilder computed properties?
    • Size isn't the real goal — isolating independently-updating data is. Split a view when its parts update from different data (e.g. a header, content, and footer that each change on their own), so a change to one doesn't invalidate and re-run the body of the whole. If the dependencies are shared across the whole view, splitting buys you nothing — you do the same work either way. Crucially, extracting into a @ViewBuilder computed property gives no performance benefit, because it's still one view body with all the same dependencies; only a separate view type creates an initialization boundary where SwiftUI can compare inputs and skip work. An @Observable reference helps here too, since its stable pointer lets a small subview redraw without re-running the parent. And don't be afraid of many small views — they're value-type structs and cheap.

デベロッパ向けフッタ

  • ビデオ
  • WWDC26
  • 「SwiftUI」グループラボ
  • メニューを開く メニューを閉じる
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store
    メニューを開く メニューを閉じる
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    メニューを開く メニューを閉じる
    • アクセシビリティ
    • アクセサリ
    • AIと機械学習
    • Apple Intelligence
    • オーディオとビデオ
    • 拡張現実
    • ビジネス
    • デザイン
    • 配信
    • 教育
    • ゲーム
    • ヘルスケアとフィットネス
    • アプリ内購入
    • ローカリゼーション
    • マップと位置情報
    • セキュリティ
    • Safari/Web
    メニューを開く メニューを閉じる
    • ドキュメント
    • ダウンロード
    • サンプルコード
    • ビデオ
    • ドキュメントのアーカイブ
    メニューを開く メニューを閉じる
    • ヘルプガイドと記事
    • お問い合わせ
    • フォーラム
    • フィードバックとバグの報告
    • システムステータス
    メニューを開く メニューを閉じる
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles(証明書、ID、プロファイル)
    • フィードバックアシスタント
    メニューを開く メニューを閉じる
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • Mini Apps Partner Program
    • News Partner Program
    • Video Partner Program
    • セキュリティ報奨金プログラム
    • Security Research Device Program
    メニューを開く メニューを閉じる
    • Appleに相談
    • Apple Developer Center
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academy
    • WWDC
    最新ニュースを読む。
    Apple Developerアプリを入手する。
    Copyright © 2026 Apple Inc. All rights reserved.
    利用規約 プライバシーポリシー 契約とガイドライン