Contents

currentSelection

The current selection.

Declaration

var currentSelection: PDFSelection? { get set }

Discussion

Returns NULL if no selection exists.

Note that this method returns the actual instance of the current PDFSelection object. Therefore, if you want to modify it, you should make a copy of the returned selection and modify that, instead.

See Also

Handling Selections