Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.17 KB

native-add-objective-c.md

File metadata and controls

34 lines (23 loc) · 1.17 KB

<% if (isJekyll) { %>--- title: ns native add objective-c position: 4 ---<% } %>

ns native add objective-c

Description

Adds newly generated Objective-C files, which include an interface with the specified name, placing them in the appropriate directory.

Objective-C usage requires that the module.modulemap is modified to include the header file, the command will set this entry.

Commands

Usage Synopsis
Objective-C $ ns native add objective-c <Objective-C interface name>

Arguments

  • <Objective-C interface name> is the name of the interface to create, e.g. SomeInterface

<% if(isHtml) { %>

Related Commands

Command Description
native add swift Generates and adds a Swift file containing a class of the given name.
native add objective-c Generates and adds Objective-C files containing an interface of the given name.
native add java Generates and adds a Java file containing a class of the given name.
native add kotlin Generates and adds a Kotlin file containing a class of the given name.
<% } %>