---
title: "listItemIntentWithIdentity:ordinal:nestedInsideIntent:"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/nspresentationintent/listitemintentwithidentity:ordinal:nestedinsideintent:"
---

# listItemIntentWithIdentity:ordinal:nestedInsideIntent:

Creates an item for an ordered list with the provided information.

## Declaration

```occ
+ (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

Return Value A new intent with the kind set to NSPresentationIntentKindListItem.

## See Also

### Creating a presentation intent

- [paragraphIntentWithIdentity:nestedInsideIntent:](foundation/nspresentationintent/paragraphintentwithidentity:nestedinsideintent:.md)
- [headerIntentWithIdentity:level:nestedInsideIntent:](foundation/nspresentationintent/headerintentwithidentity:level:nestedinsideintent:.md)
- [orderedListIntentWithIdentity:nestedInsideIntent:](foundation/nspresentationintent/orderedlistintentwithidentity:nestedinsideintent:.md)
- [unorderedListIntentWithIdentity:nestedInsideIntent:](foundation/nspresentationintent/unorderedlistintentwithidentity:nestedinsideintent:.md)
- [codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:](foundation/nspresentationintent/codeblockintentwithidentity:languagehint:nestedinsideintent:.md)
- [blockQuoteIntentWithIdentity:nestedInsideIntent:](foundation/nspresentationintent/blockquoteintentwithidentity:nestedinsideintent:.md)
- [thematicBreakIntentWithIdentity:nestedInsideIntent:](foundation/nspresentationintent/thematicbreakintentwithidentity:nestedinsideintent:.md)
- [tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:](foundation/nspresentationintent/tableintentwithidentity:columncount:alignments:nestedinsideintent:.md)
- [tableHeaderRowIntentWithIdentity:nestedInsideIntent:](foundation/nspresentationintent/tableheaderrowintentwithidentity:nestedinsideintent:.md)
- [tableRowIntentWithIdentity:row:nestedInsideIntent:](foundation/nspresentationintent/tablerowintentwithidentity:row:nestedinsideintent:.md)
- [tableCellIntentWithIdentity:column:nestedInsideIntent:](foundation/nspresentationintent/tablecellintentwithidentity:column:nestedinsideintent:.md)
