Commit 364d73f6 by David Muzi

change method signature to avoid conflict with SDK

parent 7afb129b
...@@ -95,7 +95,7 @@ extension OrdersViewController: UITableViewDataSource { ...@@ -95,7 +95,7 @@ extension OrdersViewController: UITableViewDataSource {
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! LineItemCell let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! LineItemCell
let lineItem = self.orders[indexPath.section].lineItemsArray[indexPath.row] let lineItem = self.orders[indexPath.section].arrayOfLineItems[indexPath.row]
cell.setLineItem(lineItem) cell.setLineItem(lineItem)
...@@ -108,7 +108,7 @@ extension OrdersViewController: UITableViewDataSource { ...@@ -108,7 +108,7 @@ extension OrdersViewController: UITableViewDataSource {
// //
extension BUYOrder { extension BUYOrder {
var lineItemsArray: [BUYLineItem] { var arrayOfLineItems: [BUYLineItem] {
return self.lineItems.array as! [BUYLineItem] return self.lineItems.array as! [BUYLineItem]
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment