diff --git a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/OrdersViewController.swift b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/OrdersViewController.swift index 0466950..953fd4d 100644 --- a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/OrdersViewController.swift +++ b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/OrdersViewController.swift @@ -95,20 +95,10 @@ extension OrdersViewController: UITableViewDataSource { func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! LineItemCell - let lineItem = self.orders[indexPath.section].arrayOfLineItems[indexPath.row] + let lineItem = self.orders[indexPath.section].lineItemsArray()[indexPath.row] cell.setLineItem(lineItem) return cell } } - -// ---------------------------------- -// MARK: - BUYOrder - -// -extension BUYOrder { - - var arrayOfLineItems: [BUYLineItem] { - return self.lineItems.array as! [BUYLineItem] - } -}