<% if (isJekyll) { %>--- title: ns native position: 1 ---<% } %>
Commands to add native files to the application placing them in the correct directory.
Usage | Synopsis |
---|---|
Swift | $ ns native add swift <Swift class name> |
Objective-C | $ ns native add objective-c <Objective-C interface name> |
Java | $ ns native add java <Java class name> |
Kotlin | $ ns native add kotlin <Kotlin class name> |
<% if(isHtml) { %>
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. |
<% } %> |