You would do
[orderbook sendOrderWithSymbol:"foo" buy:true quantity:100 price:1000.00]
Cannot confuse that!
(I never used swift, I think it retains this?)
orderbook.sendOrder(symbol: "foo", buy: true, quantity: 100, price: 1000.00);
func parseInt(from s: String) -> Int { /* the variable is named 's' here */ } parseInt(from: "123")
You would do
[orderbook sendOrderWithSymbol:"foo" buy:true quantity:100 price:1000.00]
Cannot confuse that!
(I never used swift, I think it retains this?)