Turn Swift snippets into images worth sharing, without leaving your Mac.
Swift snippets are what Codeshot was built for. The app detects Swift automatically, so pasting a view, an extension, or a single property is usually the whole workflow.
Codeshot detects Swift from the code you paste, so there is no language picker to get wrong. Here is the same snippet in three of the 30 themes it ships with, rendered with the app's own stylesheets.
Xcode is the theme most Swift developers reach for, because it matches what they already look at all day. If you are posting where most images are dark, Tokyo Night reads better at small sizes.
Getting the size right
Let the image follow your content, or lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, or 3:4 — then export at 1×, 2×, or 3× so it stays sharp on a retina display. Copy it straight to the clipboard with ⌘⇧C, or save with ⌘S.