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
NSNumberin 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
paragraphIntentWithIdentity:nestedInsideIntent:headerIntentWithIdentity:level:nestedInsideIntent:orderedListIntentWithIdentity:nestedInsideIntent:unorderedListIntentWithIdentity:nestedInsideIntent:listItemIntentWithIdentity:ordinal:nestedInsideIntent:codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:blockQuoteIntentWithIdentity:nestedInsideIntent:thematicBreakIntentWithIdentity:nestedInsideIntent:tableHeaderRowIntentWithIdentity:nestedInsideIntent:tableRowIntentWithIdentity:row:nestedInsideIntent:tableCellIntentWithIdentity:column:nestedInsideIntent: