Contents

codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:

Creates an code-block intent with the provided information.

Declaration

+ (NSPresentationIntent *) codeBlockIntentWithIdentity:(NSInteger) identity languageHint:(NSString *) languageHint nestedInsideIntent:(NSPresentationIntent *) parent;

Parameters

  • identity:

    The unique identifier for the intent.

  • languageHint:

    The programming language for the code listing.

  • parent:

    The parent intent of the code block.

Return Value

A new intent with the kind set to NSPresentationIntentKindCodeBlock.

See Also

Creating a presentation intent