Mix.Tasks.Nativegen.Swift.Setup

Generates swift code base into your iOS project.

The generated code depends on the below libraries

  • Alamofire
  • SwiftyJSON
  • BrightFutures

Example

mix nativegen.setup /path/to/your/swift/directory http://your_base_url.com

The first argument is the directory which you want to generate code base in your iOS project, and second argument is your host URL.

Summary

compile_repository(host)

Compile content of repository.swift file

run(args)

Callback implementation for c:Mix.Task.run/1

Functions

compile_repository(host)

Compile content of repository.swift file.

run(args)

Callback implementation for c:Mix.Task.run/1.