Created
November 17, 2014 03:07
Swift client, final prepare for segue . . .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let destViewController = segue.destinationViewController as PlumbingSupplyItemDescriptionViewController | |
let selectedCell = sender as UITableViewCell | |
let selectedIndex = self.tableView.indexPathForCell(selectedCell) | |
destViewController.bsn_plumbingItem = self.dataSource[selectedIndex!.row] | |
destViewController.bsn_capturedImage = selectedCell.imageView.image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment