OCKDocumentElementTable Class Reference

Inherits from NSObject
Conforms to OCKDocumentElement
Declared in OCKDocument.h

Defines a table element to include in a document.

– initWithHeaders:rows:

Initializer for an OCKDocumentElementTable object.

- (instancetype)initWithHeaders:(nullable NSArray<NSString*> *)headers rows:(nullable NSArray<NSArray<NSString*> *> *)rows

Parameters

headers

An array of table header strings.

rows

An array of table rows. Each row contains an array of string values.

Return Value

An initialized OCKDocumentElementTable instance.

Declared In

OCKDocument.h

  headers

An array of table header strings.

@property (nonatomic, copy, nullable) NSArray<NSString*> *headers

Declared In

OCKDocument.h

  rows

An array of table rows. Each row contains an array of string values for each table cell in a row.

@property (nonatomic, copy, nullable) NSArray<NSArray<NSString*> *> *rows

Declared In

OCKDocument.h