Structure
FrameAction
Overlays device frames on raw screenshots.
struct FrameActionOverview
Takes screenshots from a directory and composites them with device bezels (iPhone, iPad) to create App Store-ready framed screenshots.
Usage
let result = try await FrameAction().run(
with: .init(screenshotsDirectory: "./screenshots"),
context: context
)
print("Framed \(result.framedCount) screenshots")Topics
Structures
struct OptionsConfiguration for the frame action.
struct ResultResult of a frame operation.
Initializers
init()Creates a
FrameAction.
Instance Methods
func run(with: FrameAction.Options, context: ActionContext) async throws -> FrameAction.ResultExecute the action with the given options.
Type Properties
static let description: StringLong-form description for
--helpoutput and documentation.static let name: StringHuman-readable identifier, e.g.
"build","upload".
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype