View in English

  • Apple Developer
    • Get Started

    Explore Get Started

    • Overview
    • Learn
    • Apple Developer Program

    Stay Updated

    • Latest News
    • Hello Developer
    • Platforms

    Explore Platforms

    • Apple Platforms
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    Featured

    • Design
    • Distribution
    • Games
    • Accessories
    • Web
    • Home
    • CarPlay
    • Technologies

    Explore Technologies

    • Overview
    • Xcode
    • Swift
    • SwiftUI

    Featured

    • Accessibility
    • App Intents
    • Apple Intelligence
    • Games
    • Machine Learning & AI
    • Security
    • Xcode Cloud
    • Community

    Explore Community

    • Overview
    • Meet with Apple events
    • Community-driven events
    • Developer Forums
    • Open Source

    Featured

    • WWDC
    • Swift Student Challenge
    • Developer Stories
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Centers
    • Documentation

    Explore Documentation

    • Documentation Library
    • Technology Overviews
    • Sample Code
    • Human Interface Guidelines
    • Videos

    Release Notes

    • Featured Updates
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • Downloads

    Explore Downloads

    • All Downloads
    • Operating Systems
    • Applications
    • Design Resources

    Featured

    • Xcode
    • TestFlight
    • Fonts
    • SF Symbols
    • Icon Composer
    • Support

    Explore Support

    • Overview
    • Help Guides
    • Developer Forums
    • Feedback Assistant
    • Contact Us

    Featured

    • Account Help
    • App Review Guidelines
    • App Store Connect Help
    • Upcoming Requirements
    • Agreements and Guidelines
    • System Status
  • Quick Links

    • Events
    • News
    • Forums
    • Sample Code
    • Videos
 

Vídeos

Abrir menu Fechar menu
  • Coleções
  • Todos os vídeos
  • Sobre
  • Sobre
  • Codificação guiada usando o framework Foundation Models

    Adquira experiência prática no uso do framework Foundation Models para acessar o LLM no dispositivo da Apple. Nesta sessão online, você pode programar junto conosco conforme integramos recursos de IA generativa a um app de exemplo no Xcode. Vamos guiar você na implementação dos principais recursos, como geração de texto básica, e em tópicos avançados, como geração guiada para saída de dados estruturada, transmissão de respostas para atualizações dinâmicas da interface de usuário e chamadas de ferramentas para recuperar dados ou executar uma ação.

    Todos são bem-vindos nesta sessão. Para participar ativamente da codificação guiada, você precisa de um Mac com Apple Silicon compatível com a Apple Intelligence e a versão mais recente do macOS Tahoe 26 e do Xcode 26.

    Capítulos

    • 0:00:00 - Intro
    • 0:03:33 - Resources and system requirements
    • 0:05:04 - Prerequisites and setup
    • 0:06:30 - Starter project tour
    • 0:10:32 - Chapter 1: Foundation Models framework basics
    • 0:11:51 - Chapter 1.1: Making your first generation request
    • 0:15:50 - Chapter 1.2: Guiding the model with instructions
    • 0:18:46 - Chapter 1.3: Handling model availability
    • 0:20:50 - Chapter 1.4: Handle availability in the view
    • 0:24:07 - Chapter 1.5: Create the itinerary generator
    • 0:27:07 - Chapter 1.6: Update the view to display text output
    • 0:32:43 - Chapter 2: Generating structured outputs
    • 0:34:36 - Chapter 2.1: Generating simple structured output
    • 0:37:52 - Chapter 2.2: Generating nested structured output
    • 0:41:58 - Chapter 2.3: Refactoring the itinerary generator
    • 0:44:48 - Chapter 2.4: Updating the views to display the structured data
    • 0:49:22 - Chapter 3: Prompting techniques
    • 0:50:25 - Chapter 3.1: Building prompts with PromptBuilder
    • 0:53:23 - Chapter 3.2: One-shot prompting
    • 0:55:31 - Chapter 3.3: Update the itinerary generator with the example
    • 0:59:11 - Chapter 4: Streaming responses
    • 0:59:51 - Chapter 4.1: Update the itinerary generator for streaming
    • 1:02:52 - Chapter 4.2: Updating views to render streaming content
    • 1:08:16 - Chapter 5: Tool calling
    • 1:11:12 - Chapter 5.1: Building the FindPointsOfInterestTool
    • 1:16:32 - Chapter 5.2: Give the model access to the FindPointsOfInterestTool
    • 1:23:07 - Chapter 5.3: Updating the itinerary generator to use the tool
    • 1:27:39 - Chapter 6: Performance and optimization
    • 1:34:20 - Chapter 6.1: Pre-warming the model
    • 1:36:56 - Chapter 6.2: Optimizing the prompt
    • 1:41:16 - Wrap up and next steps

    Recursos

    • Foundation Models Code-Along Project Files
    • Foundation Models Code-Along Instructions
      • Vídeo HD
      • Vídeo SD
  • Buscar neste vídeo...

Developer Footer

  • Vídeos
  • Meet with Apple
  • Codificação guiada usando o framework Foundation Models
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • Apple Intelligence
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Downloads
    • Sample Code
    • Videos
    Open Menu Close Menu
    • Help Guides & Articles
    • Contact Us
    • Forums
    • Feedback & Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • 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 Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Read the latest news.
    Get the Apple Developer app.
    Copyright © 2026 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines