Inherits from UIView
Declared in RATreeView.h

Tasks

Initializing a RATreeView Object

Managing the Delegate and the Data Source

Configuring the Tree View

Expanding and Collapsing Rows

Inserting, Deleting, and Moving Rows

Creating Tree View Cells

Accessing Header and Footer Views

Working with Expandability

Working with Indentation

Getting the Parent for an Item

Accessing Cells

Scrolling the TreeView

Managing Selections

Managing the Editing of Tree Cells

Reloading the Tree View

Managing the Display of Content

Managing Scrolling

Managing the Scroll Indicator

Zooming and Panning

Properties

_0

@property (nonatomic) CGFloat estimatedRowHeight NS_AVAILABLE_IOS ( 7 _0

allowsMultipleSelection

@property (nonatomic) BOOL allowsMultipleSelection

allowsMultipleSelectionDuringEditing

@property (nonatomic) BOOL allowsMultipleSelectionDuringEditing

allowsSelection

@property (nonatomic) BOOL allowsSelection

allowsSelectionDuringEditing

@property (nonatomic) BOOL allowsSelectionDuringEditing

alwaysBounceHorizontal

@property (nonatomic) BOOL alwaysBounceHorizontal

alwaysBounceVertical

@property (nonatomic) BOOL alwaysBounceVertical

backgroundView

@property (strong, nonatomic) UIView *backgroundView

bounces

@property (nonatomic) BOOL bounces

bouncesZoom

@property (nonatomic) BOOL bouncesZoom

canCancelContentTouches

@property (nonatomic) BOOL canCancelContentTouches

collapsesChildRowsWhenRowCollapses

@property (nonatomic) BOOL collapsesChildRowsWhenRowCollapses

contentInset

@property (nonatomic) UIEdgeInsets contentInset

contentOffset

@property (nonatomic) CGPoint contentOffset

contentSize

@property (nonatomic) CGSize contentSize

dataSource

@property (weak, nonatomic) id<RATreeViewDataSource> dataSource

decelerating

@property (nonatomic, readonly) BOOL decelerating

decelerationRate

@property (nonatomic) BOOL decelerationRate

delaysContentTouches

@property (nonatomic) BOOL delaysContentTouches

delegate

@property (weak, nonatomic) id<RATreeViewDelegate> delegate

directionalLockEnabled

@property (nonatomic) BOOL directionalLockEnabled

dragging

@property (nonatomic, readonly) BOOL dragging

editing

@property (nonatomic, getter=isEditing) BOOL editing

expandsChildRowsWhenRowExpands

@property (nonatomic) BOOL expandsChildRowsWhenRowExpands

indicatorStyle

@property (nonatomic) UIScrollViewIndicatorStyle indicatorStyle

itemsForVisibleCells

@property (nonatomic, readonly) NSArray *itemsForVisibleCells

maximumZoomScale

@property (nonatomic) CGFloat maximumZoomScale

minimumZoomScale

@property (nonatomic) CGFloat minimumZoomScale

pagingEnabled

@property (nonatomic) BOOL pagingEnabled

panGestureRecognizer

@property (strong, nonatomic, readonly) UIPanGestureRecognizer *panGestureRecognizer

pinchGestureRecognizer

@property (strong, nonatomic, readonly) UIPinchGestureRecognizer *pinchGestureRecognizer

rowHeight

@property (nonatomic) CGFloat rowHeight

rowsCollapsingAnimation

@property (nonatomic) RATreeViewRowAnimation rowsCollapsingAnimation

rowsExpandingAnimation

@property (nonatomic) RATreeViewRowAnimation rowsExpandingAnimation

scrollEnabled

@property (nonatomic) BOOL scrollEnabled

scrollIndicatorInsets

@property (nonatomic) UIEdgeInsets scrollIndicatorInsets

scrollsToTop

@property (nonatomic) BOOL scrollsToTop

separatorColor

@property (strong, nonatomic) UIColor *separatorColor

separatorStyle

@property (nonatomic) RATreeViewCellSeparatorStyle separatorStyle

showsHorizontalScrollIndicator

@property (nonatomic) BOOL showsHorizontalScrollIndicator

showsVerticalScrollIndicator

@property (nonatomic) BOOL showsVerticalScrollIndicator

style

@property (nonatomic, readonly) RATreeViewStyle style

tracking

@property (nonatomic, readonly) BOOL tracking

treeFooterView

@property (strong, nonatomic) UIView *treeFooterView

treeHeaderView

@property (strong, nonatomic) UIView *treeHeaderView

zoomBouncing

@property (nonatomic, readonly) BOOL zoomBouncing

zoomScale

@property (nonatomic) CGFloat zoomScale

zooming

@property (nonatomic, readonly) BOOL zooming

Instance Methods

beginUpdates

- (void)beginUpdates

cellForItem:

- (UITableViewCell *)cellForItem:(id)item

collapseRowForItem:

- (void)collapseRowForItem:(id)item

collapseRowForItem:collapseChildren:withRowAnimation:

- (void)collapseRowForItem:(id)item collapseChildren:(BOOL)collapseChildren withRowAnimation:(RATreeViewRowAnimation)animation

collapseRowForItem:withRowAnimation:

- (void)collapseRowForItem:(id)item withRowAnimation:(RATreeViewRowAnimation)animation

deleteItemsAtIndexes:inParent:withAnimation:

- (void)deleteItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(RATreeViewRowAnimation)animation

dequeueReusableCellWithIdentifier:

- (id)dequeueReusableCellWithIdentifier:(NSString *)identifier

dequeueReusableHeaderFooterViewWithIdentifier:

- (id)dequeueReusableHeaderFooterViewWithIdentifier:(NSString *)identifier

deselectRowForItem:animated:

- (void)deselectRowForItem:(id)item animated:(BOOL)animated

endUpdates

- (void)endUpdates

expandRowForItem:

- (void)expandRowForItem:(id)item

expandRowForItem:expandChildren:withRowAnimation:

- (void)expandRowForItem:(id)item expandChildren:(BOOL)expandChildren withRowAnimation:(RATreeViewRowAnimation)animation

expandRowForItem:withRowAnimation:

- (void)expandRowForItem:(id)item withRowAnimation:(RATreeViewRowAnimation)animation

flashScrollIndicators

- (void)flashScrollIndicators

initWithFrame:style:

- (id)initWithFrame:(CGRect)frame style:(RATreeViewStyle)style

insertItemsAtIndexes:inParent:withAnimation:

- (void)insertItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(RATreeViewRowAnimation)animation

isCellExpanded:

- (BOOL)isCellExpanded:(UITableViewCell *)cell

isCellForItemExpanded:

- (BOOL)isCellForItemExpanded:(id)item

itemForCell:

- (id)itemForCell:(UITableViewCell *)cell

itemForRowAtPoint:

- (id)itemForRowAtPoint:(CGPoint)point

itemForSelectedRow

- (id)itemForSelectedRow

itemsForRowsInRect:

- (id)itemsForRowsInRect:(CGRect)rect

itemsForSelectedRows

- (NSArray *)itemsForSelectedRows

levelForCell:

- (NSInteger)levelForCell:(UITableViewCell *)cell

levelForCellForItem:

- (NSInteger)levelForCellForItem:(id)item

moveItemAtIndex:inParent:toIndex:inParent:

- (void)moveItemAtIndex:(NSInteger)oldIndex inParent:(id)oldParent toIndex:(NSInteger)newIndex inParent:(id)newParent

numberOfRows

- (NSInteger)numberOfRows

parentForItem:

- (id)parentForItem:(id)parent

registerClass:forCellReuseIdentifier:

- (void)registerClass:(Class)cellClass forCellReuseIdentifier:(NSString *)identifier

registerClass:forHeaderFooterViewReuseIdentifier:

- (void)registerClass:(Class)aClass forHeaderFooterViewReuseIdentifier:(NSString *)identifier

registerNib:forCellReuseIdentifier:

- (void)registerNib:(UINib *)nib forCellReuseIdentifier:(NSString *)identifier

registerNib:forHeaderFooterViewReuseIdentifier:

- (void)registerNib:(UINib *)nib forHeaderFooterViewReuseIdentifier:(NSString *)identifier

reloadData

- (void)reloadData

reloadRows

- (void)reloadRows

reloadRowsForItems:withRowAnimation:

- (void)reloadRowsForItems:(NSArray *)items withRowAnimation:(RATreeViewRowAnimation)animation

scrollRectToVisible:animated:

- (void)scrollRectToVisible:(CGRect)visible animated:(BOOL)animated

scrollToNearestSelectedRowAtScrollPosition:animated:

- (void)scrollToNearestSelectedRowAtScrollPosition:(RATreeViewScrollPosition)scrollPosition animated:(BOOL)animated

scrollToRowForItem:atScrollPosition:animated:

- (void)scrollToRowForItem:(id)item atScrollPosition:(RATreeViewScrollPosition)scrollPosition animated:(BOOL)animated

selectRowForItem:animated:scrollPosition:

- (void)selectRowForItem:(id)item animated:(BOOL)animated scrollPosition:(RATreeViewScrollPosition)scrollPosition

setContentOffset:animated:

- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated

setEditing:animated:

- (void)setEditing:(BOOL)editing animated:(BOOL)animated

setZoomScale:animated:

- (void)setZoomScale:(CGFloat)zoomScale animated:(BOOL)animated

visibleCells

- (NSArray *)visibleCells

zoomToRect:animated:

- (void)zoomToRect:(CGRect)rect animated:(BOOL)animated