listItemIntentWithIdentity:ordinal:nestedInsideIntent:
Creates an item for an ordered list with the provided information.
Declaration
+ (NSPresentationIntent *) listItemIntentWithIdentity:(NSInteger) identity ordinal:(NSInteger) ordinal nestedInsideIntent:(NSPresentationIntent *) parent;Parameters
- identity:
The unique identifier for the intent.
- ordinal:
The ordinal number to display in front of the list item.
- parent:
The parent intent of the item.
Return Value
A new intent with the kind set to NSPresentationIntentKindListItem.
See Also
Creating a presentation intent
paragraphIntentWithIdentity:nestedInsideIntent:headerIntentWithIdentity:level:nestedInsideIntent:orderedListIntentWithIdentity:nestedInsideIntent:unorderedListIntentWithIdentity:nestedInsideIntent:codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:blockQuoteIntentWithIdentity:nestedInsideIntent:thematicBreakIntentWithIdentity:nestedInsideIntent:tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:tableHeaderRowIntentWithIdentity:nestedInsideIntent:tableRowIntentWithIdentity:row:nestedInsideIntent:tableCellIntentWithIdentity:column:nestedInsideIntent: