Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Set the currentViewController to description child VC because that is the first one
- // shown in the container view
- if segue.identifier == "DetailChildSegue" {
- let detailChildVC = DetailChildViewController()
- // Set product of the childVC
- let actionArray = [product?.action.keys.description] as? [String]
- detailChildVC.properties = actionArray
- }
- // Set the currentVC
- currentVC = segue.destination
- }
Add Comment
Please, Sign In to add comment