Developer Tools / 24:25

Build real-time apps and services with gRPC and Swift

Developer ToolsSwiftiosipadosmacostvosvisionoswatchos

Key Points

  • Build engaging live experiences with gRPC in the Swift app and backend.
  • GRPC is an open-source RPC framework designed for high-performance, bidirectional streaming APIs.
  • Covers how the gRPC Swift package provides a modern, safe runtime built with Swift concurrency.
  • The session moves through Meet gRPC, App overview and demo setup, Defining the ListRaces RPC, Setting up Xcode to generate gRPC code, Managing the gRPC client lifecycle, Protobuf message format and binary efficiency, and related wrap-up guidance.
  • Key concepts include HTTP, OpenAPI, SwiftProtobuf, GRPC, Private Cloud Compute, Keychain, SharePlay, CNCF.
  • Platform coverage: ios, ipados, macos, tvos, visionos, watchos.

Condensed Flow

01

Meet gRPC:

Focuses on HTTP.

02

Defining the ListRaces RPC:

Focuses on ListRaces.

03

Setting up Xcode to generate gRPC code:

Focuses on HTTP, SwiftProtobuf, GRPC.

04

Protobuf message format and binary efficiency:

Focuses on GRPC, Private Cloud Compute, Keychain, SharePlay.

More Detail

Additional details

  • Detailed flow: Meet gRPC -> App overview and demo setup -> Defining the ListRaces RPC -> Setting up Xcode to generate gRPC code -> Managing the gRPC client lifecycle -> Protobuf message format and binary efficiency -> Implementing a bidirectional streaming RPC -> Deploying the service.
  • APIs and concepts to recognize: HTTP, OpenAPI, SwiftProtobuf, GRPC, Private Cloud Compute, Keychain, SharePlay, CNCF, RaceScheduleView, RPCs.
  • Implementation focus: GRPC, Private Cloud Compute, Keychain, SharePlay, RPCs.

Resources