Skip to content

Instantly share code, notes, and snippets.

@RuiAAPeres
Created January 18, 2026 15:06
Show Gist options
  • Select an option

  • Save RuiAAPeres/5da57dda08c449833e9ce6119ea19693 to your computer and use it in GitHub Desktop.

Select an option

Save RuiAAPeres/5da57dda08c449833e9ce6119ea19693 to your computer and use it in GitHub Desktop.
Fatbobman's SwiftUI tips distilled via Codex

SwiftUI best practise

This doc distills layout and scrolling guidance from Fatbobman SwiftUI articles. It focuses on layout, sizing, alignment, stacks/grids, safe areas, overlays/backgrounds, and scrolling/lazy containers.

Layout fundamentals

Alignment and spacing

Overlay, background, and layering

Geometry and measurement

Text layout

Grids and stacks

Lists and lazy containers

ScrollView and scroll control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment