ALIndexPath Class Reference

Inherits from NSObject
Declared in ALIndexPath.h

Overview

With the ALIndexPath the position of the Digit can be specified. Digits are sectioned in line and the position in the line.

  line

The line of the digit.

@property (nonatomic) NSInteger line

Declared In

ALIndexPath.h

  positionInLine

The position of the digit in the line.

@property (nonatomic) NSInteger positionInLine

Declared In

ALIndexPath.h

– initWithPosition:inLine:

Initialise an IndexPath with a position and line.

- (instancetype)initWithPosition:(NSInteger)position inLine:(NSInteger)line

Parameters

position

The position of the digit in the line.

line

The line of the digit.

Return Value

A new IndexPath for a digit.

Declared In

ALIndexPath.h

– compare:

Compares two IndexPaths and returns the comparison result.

- (NSComparisonResult)compare:(id)object

Parameters

object

An other IndexPath object to compare to.

Return Value

The NSComparisonResult for the the 2 IndexPaths.

Declared In

ALIndexPath.h