Created
November 17, 2014 03:07
-
-
Save aGupieWare/8b3445ef6b00afbea0b2 to your computer and use it in GitHub Desktop.
Swift client, final prepare for segue . . .
This file contains hidden or 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