Mix.Tasks.Nativegen.Swift.Create

Create repository code that contains CRUD methods.

The generated code depends on the below libraries

  • Alamofire
  • SwiftyJSON
  • BrightFutures

Example

mix nativegen.swift.create /path/to/your/directory User users username:string group:Group items:array:Item

Summary

build_create_args(params)
default_methods(atom, singular, plural, group, params, id_params)
run(args)

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

Functions

build_create_args(params)
default_methods(atom, singular, plural, group, params, id_params)
run(args)

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