Contents

tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:

Creates a table intent with the provided information.

Declaration

+ (NSPresentationIntent *) tableIntentWithIdentity:(NSInteger) identity columnCount:(NSInteger) columnCount alignments:(NSArray<NSNumber *> *) alignments nestedInsideIntent:(NSPresentationIntent *) parent;

Parameters

  • identity:

    The unique identifier for the intent.

  • columnCount:

    The number of columns in the table.

  • alignments:

    The text alignments for each column. For each NSNumber in the array, set the value to a value from the Nspresentationintenttablecolumnalignment enumerated type.

  • parent:

    The parent intent of the table.

Return Value

A new intent with the kind set to NSPresentationIntentKindTable.

See Also

Creating a presentation intent