YLOutlineItem Class Reference
Inherits from | NSObject |
Declared in | YLOutlineItem.h YLOutlineItem.m |
Overview
Model object that represents a single outline item. These items are used while displaying the TOC of a PDF.
Tasks
-
title
Title of the outline item.
property -
indentation
Indentation level of the outline item.
property -
page
Page number of the outline item.
property -
– initWithTitle:indentation:page:
Initializes a YLOutlineItem object and returns it to the caller.
Properties
indentation
Indentation level of the outline item.
@property (nonatomic, assign) NSUInteger indentation
Discussion
Indentation level of the outline item.
Declared In
YLOutlineItem.h
Instance Methods
initWithTitle:indentation:page:
Initializes a YLOutlineItem object and returns it to the caller.
- (id)initWithTitle:(NSString *)title indentation:(NSUInteger)indent page:(NSUInteger)page
Parameters
- title
Title of the outline item.
- indent
Indentation level of the outline item.
- page
Page number of the outline item.
Return Value
An initialized YLOutlineItem object.
Discussion
Initializes a YLOutlineItem object and returns it to the caller.
Declared In
YLOutlineItem.h