Перейти к содержимому

WWDC26: Build real-time apps and services with gRPC and Swift | Apple

Apple Developer

0:00 / 0:00

WWDC26: Build real-time apps and services with gRPC and Swift | Apple

2 091 просмотр · 3 месяца назад
Apple Developer
329 тыс. подписчиков
2 091 просмотр · 3 месяца назад
Build engaging live experiences with gRPC in your Swift app and backend. gRPC is an open-source RPC framework designed for high-performance, bidirectional streaming APIs. Explore how the gRPC Swift package provides a modern, safe runtime built with Swift concurrency. Learn how integrated tools streamline your workflow and help you deliver real-time features with ease. Explore related documentation, sample code, and more: About gRPC: https://grpc.io/ gRPC Swift Extras: https://github.com/grpc/grpc-swift-ex... gRPC Swift Protobuf: https://github.com/grpc/grpc-swift-pr... gRPC Swift NIO Transport: https://github.com/grpc/grpc-swift-ni... gRPC Swift: https://github.com/grpc/grpc-swift-2 Swift on Server: https://www.swift.org/server/ Meet Swift OpenAPI Generator: https://developer.apple.com/videos/pl... Explore the Swift on Server ecosystem: https://developer.apple.com/videos/pl... Meet Containerization: https://developer.apple.com/videos/pl... 00:00 - Introduction 01:39 - Meet gRPC 02:13 - App overview and demo setup 03:30 - Defining the ListRaces RPC 04:30 - Setting up Xcode to generate gRPC code 07:50 - Managing the gRPC client lifecycle 09:36 - Protobuf message format and binary efficiency 12:33 - Implementing a bidirectional streaming RPC 20:11 - Deploying the service 23:11 - Next steps More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp