i have passed data from didselect method of `collectionView` like this 

```
 func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {

        let dicttemp = (arrRespProduct?.object(at: indexPath.row))! as! NSDictionary
        dicData = NSMutableDictionary(dictionary: dicttemp)

         performSegue(withIdentifier: GlobalConstant.segueIdentofier.productDetail, sender: self)
    }

```

But method

```
func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) 

```

is not calling in swift 3... Any solution?