swift-rfb

A small, event-driven RFB (VNC) client for macOS with a Metal renderer. It does no work while the remote screen is still: no timers, no polling, no display link ticks. Decoders write straight into page-aligned memory that the GPU reads as a texture, so an update costs one decode and one draw.

RFB server ◄──► RFBTransport (TCP or RFBPipe) ◄──► RFBClient.run
                                                    │ decoders write in place
                                                    ▼
                                    RFBFramebuffer ──► RFBView / RFBRenderer (Metal)

Guides

Repository

Source and issue tracker: github.com/loomhand/swift-rfb.