One Logo Pool Ball
QuickLook · IOS API REFERENCE

QLPreviewReply

class · iOS 15.0+ · SDK 27.1

class QLPreviewReply

Members (8)

init · iOS 15.0+

init

TypeScript
static initFileURL(fileURL: string): QLPreviewReply
Swift declaration
init(fileURL: URL)
get · iOS 15.0+

attachments

TypeScript
get attachments(): Record<string, QLPreviewReplyAttachment>
Swift declaration
var attachments: [String : QLPreviewReplyAttachment] { get set }
set · iOS 15.0+

attachments

TypeScript
set attachments(value: Record<string, QLPreviewReplyAttachment>)
Swift declaration
var attachments: [String : QLPreviewReplyAttachment] { get set }
get · iOS 15.0+

title

TypeScript
get title(): string
Swift declaration
var title: String { get set }
set · iOS 15.0+

title

TypeScript
set title(value: string)
Swift declaration
var title: String { get set }
init · iOS 15.0+

init

TypeScript
static initContextSizeIsBitmapDrawUsing(contextSize: { width: number; height: number }, isBitmap: boolean, closure: ((arg0: _CoreGraphics_CGContext, arg1: QLPreviewReply) => void)): QLPreviewReply
Swift declaration
convenience init(contextSize: CGSize, isBitmap: Bool, drawUsing closure: @escaping (CGContext, QLPreviewReply) throws -> Void)
get · iOS 15.0+

stringEncoding

TypeScript
get stringEncoding(): _Foundation_String_Encoding
Swift declaration
var stringEncoding: String.Encoding { get set }
set · iOS 15.0+

stringEncoding

TypeScript
set stringEncoding(value: _Foundation_String_Encoding)
Swift declaration
var stringEncoding: String.Encoding { get set }

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

QLPreviewReply.init(forPDFWithPageSize:createDocumentUsing:)

synchronous callback requires a nonescaping JS-thread call

QLPreviewReply.init(dataOfContentType:contentSize:createDataUsing:)

synchronous callback requires a nonescaping JS-thread call

QLPreviewReply.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All QuickLook types →