headerIntentWithIdentity:level:nestedInsideIntent:
Creates a header intent with the provided information.
Declaration
+ (NSPresentationIntent *) headerIntentWithIdentity:(NSInteger) identity level:(NSInteger) level nestedInsideIntent:(NSPresentationIntent *) parent;Parameters
- identity:
The unique identifier for the intent.
- level:
The level for the header section. Specify
1or greater for this parameter. Don’t specify0. - parent:
The parent intent of the header.
Return Value
A new intent with the kind set to NSPresentationIntentKindHeader.
See Also
Creating a presentation intent
paragraphIntentWithIdentity:nestedInsideIntent:orderedListIntentWithIdentity:nestedInsideIntent:unorderedListIntentWithIdentity:nestedInsideIntent:listItemIntentWithIdentity:ordinal:nestedInsideIntent:codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:blockQuoteIntentWithIdentity:nestedInsideIntent:thematicBreakIntentWithIdentity:nestedInsideIntent:tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:tableHeaderRowIntentWithIdentity:nestedInsideIntent:tableRowIntentWithIdentity:row:nestedInsideIntent:tableCellIntentWithIdentity:column:nestedInsideIntent: