Create a single view app that requests data from a rest-api and display that data in the app for an american customer.
Get the vehicle attributes for a given car
URI parameters
| Parameter | Description | Type | Required |
import UIKit | |
import Foundation | |
infix operator => { associativity right} | |
// Start with input | |
func => ( left: String, right: (String)->Void ) -> () -> Void { | |
func returnFunc () -> Void | |
{ | |
right(left); |
struct Test { | |
let a:String | |
let b:Int | |
init(a:String, b:Int){ | |
self.a = a | |
self.b = b | |
} | |
} | |
new: 2014-05-14T08:31:55Z Trimmad tändare | |
new: 2014-05-20T13:57:15Z Devalvering | |
new: 2014-05-20T13:58:41Z Inflation | |
new: 2014-05-28T09:13:45Z Manslyssna | |
new: 2014-05-30T14:29:47Z 6 juni | |
new: 2014-06-24T11:05:12Z Lokalkändis | |
new: 2014-06-25T11:21:19Z Furstespegel | |
new: 2014-07-02T11:58:40Z Metallica | |
new: 2014-07-04T14:49:48Z Dregen-matta |
import Cocoa | |
import Foundation | |
enum InjectionError: ErrorType { | |
case BindingNotFound(_:String) | |
} | |
protocol Initializable { | |
init() |
I hereby claim:
To claim this, I am signing this object:
/* json to parse | |
{ | |
"required_string": "test", | |
"optional_string": "test", | |
"required_int": 123, | |
"optional_int": 123, |