Objective-C

Objective-C Code Screenshot Generator

Turn Objective-C snippets into images worth sharing, without leaving your Mac.

Objective-C is mostly screenshotted for comparison against Swift these days, which means the two images usually sit side by side.

Codeshot detects Objective-C 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.

@interface Snapshot : NSObject

@property (nonatomic, copy) NSString *code;
@property (nonatomic, assign) NSInteger scale;

- (BOOL)exportToPath:(NSString *)path error:(NSError **)error;

@end
GitHub · dark
@interface Snapshot : NSObject

@property (nonatomic, copy) NSString *code;
@property (nonatomic, assign) NSInteger scale;

- (BOOL)exportToPath:(NSString *)path error:(NSError **)error;

@end
Solarized · dark
@interface Snapshot : NSObject

@property (nonatomic, copy) NSString *code;
@property (nonatomic, assign) NSInteger scale;

- (BOOL)exportToPath:(NSString *)path error:(NSError **)error;

@end
Xcode · dark

Choosing a theme for Objective-C

If you are posting an Objective-C and a Swift version together, use the same theme and the same ratio for both. The comparison is the point, so nothing else should differ.

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.

See all 30 themes side by side, or read the full workflow.

Built for Objective-C, and 59 other languages

Everything runs on your Mac. Your code never leaves it.

Download for macOS