void PrepareForSegue(DetailViewController detailViewController) { NSIndexPath selectedIndexPath = CollectionView.GetIndexPathsForSelectedItems() [0]; detailViewController.ImageIdentifier = DataSource.GetIdentifier(selectedIndexPath); detailViewController.DataSource = DataSource; }
void PrepareForSegue (DetailViewController detailViewController) { NSIndexPath selectedIndexPath = CollectionView.GetIndexPathsForSelectedItems () [0]; detailViewController.ImageIdentifier = DataSource.GetIdentifier (selectedIndexPath); detailViewController.DataSource = DataSource; }