this is my code:
let swswipe:SWRevealViewController=UIStoryboard(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("swswipe") as! SWRevealViewController
if(indexPath.row==0)
{
let swipe=swipeView()
swipe.collectionClick="one"
self.presentViewController(swswipe, animated: true, completion: nil)
}
front
|
1st view <->swreveal<->2ndview(swipe)
i am trying to sent values from 1st to 2nd but intermediate there is a swrevealview controller is there ,so that value didn't receive
but i didn't receive anything
print("coming to collection view", self.collectionClick)