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
var title: String -
The subtitle of the TOC item
Declaration
Swift
var subtitle: String -
The page number in the PDF
Declaration
Swift
var pageNumber: Int = 0 -
The TOC page number
Declaration
Swift
var tocPageNumber: Int = 0 -
The rectangle of TOC entry
Note
Used to make internal linksDeclaration
Swift
var rect: CGRect = .zero -
The URL of the item
Declaration
Swift
var fileURL: URL?
View on GitHub