Inherits from NSObject
Declared in TKGridLayoutCellDefinition.h

Overview

@disussion A class that represents definition for a grid layout cell.

Properties

alignment

Alignment.

@property (nonatomic) TKGridLayoutAlignment alignment

Declared In

TKGridLayoutCellDefinition.h

column

The column at which the view should be layed out.

@property (nonatomic) NSNumber *column

Declared In

TKGridLayoutCellDefinition.h

columnSpan

Column span.

@property (nonatomic) NSUInteger columnSpan

Declared In

TKGridLayoutCellDefinition.h

contentOffset

Content offset.

@property (nonatomic) UIOffset contentOffset

Declared In

TKGridLayoutCellDefinition.h

index

The index used to find next editor to focus.

@property (nonatomic) NSNumber *index

Declared In

TKGridLayoutCellDefinition.h

row

The row at which the view should be layed out.

@property (nonatomic) NSNumber *row

Declared In

TKGridLayoutCellDefinition.h

rowSpan

Row span.

@property (nonatomic) NSUInteger rowSpan

Declared In

TKGridLayoutCellDefinition.h

view

The view that will be layed out according to the cell definition.

@property (nonatomic, weak) UIView *view

Declared In

TKGridLayoutCellDefinition.h

Instance Methods

initWithView:

Creates new TKGridLayoutCellDefinition object.

- (id)initWithView:(UIView *)view

Parameters

view

The view for the cell definition.

Return Value

New TKGridLayoutCellDefinition object.

Declared In

TKGridLayoutCellDefinition.h

initWithView:atRow:column:

Creates new TKGridLayoutCellDefinition object.

- (id)initWithView:(UIView *)view atRow:(NSNumber *)row column:(NSNumber *)col

Parameters

view

The view for the cell definition.

row

The row of the definition.

col

The column of the definition.

Return Value

New TKGridLayoutCellDefinition object.

Declared In

TKGridLayoutCellDefinition.h

initWithView:atRow:column:rowSpan:columnSpan:

Creates new TKGridLayoutCellDefinition object.

- (id)initWithView:(UIView *)view atRow:(NSNumber *)row column:(NSNumber *)col rowSpan:(NSInteger)rowSpan columnSpan:(NSInteger)colSpan

Parameters

view

The view for the cell definition.

row

The row of the definition.

col

The column of the definition.

rowSpan

Row span for the definition.

colSpan

Column span for the definition.

Return Value

New TKGridLayoutCellDefinition object.

Declared In

TKGridLayoutCellDefinition.h