Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1004 Bytes

File metadata and controls

32 lines (22 loc) · 1004 Bytes

<% if (isJekyll) { %>--- title: ns native add swift position: 5 ---<% } %>

ns native add swift

Description

Adds a newly generated Swift file, which includes a class with the specified name, placing it in the appropriate directory.

Commands

Usage Synopsis
Swift $ ns native add swift <Swift class name>

Arguments

  • <Swift class name> is the name of the Class to create, e.g. SomeClass

<% 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.
<% } %>