• A formatter to convert a range of pages into a user facing string.

    The page label formatter uses the label of a document’s page if it has one assigned to it and falls back to the page number (the page index + 1 that is) otherwise.

    All page ranges are treated as referring to a page’s index, starting at 0. The first page therefore has index 0 and is visualized as page 1 if there is no label set for the page.

    See more



    @interface PSPDFPageLabelFormatter : NSFormatter


    class PSPDFPageLabelFormatter : Formatter