Contents

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