TOCInfo
struct TOCInfo
Information about an item for the Table of Contents
-
The ID of the TOC item
Declaration
Swift
let id: UUID
-
The title of the TOC item
Declaration
Swift
public var title: String
-
The subtitle of the TOC item
Declaration
Swift
public var subtitle: String
-
The page number in the PDF
Declaration
Swift
public var pageNumber: Int = 0
-
The TOC page number
Declaration
Swift
public var tocPageNumber: Int = 0
-
The rectangle of TOC entry
Note
Used to make internal linksDeclaration
Swift
public var rect: CGRect = .zero
-
The URL of the item
Declaration
Swift
public var fileURL: URL?