I would like to pass data to a view controller named "addParty". To illustrate this my app goes from A -> B -> C -> D. A through C are setup pages that take in user information. These pages are followed by D which is "addParty" where I would like all of the data from A through C to be passed.
Below is an example of what I have been doing so far with view controllers A through C.
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?){
if (segue.identifier == "Setup1Segue") {
var DestViewController: addToParty = segue.destinationViewController as! addToParty
// path the cell's content to your detailViewController
DestViewController.PartyName = etPartyName.text!
DestViewController.Address = etAddress.text!
DestViewController.City = etCity.text!
DestViewController.State = etState.text!
DestViewController.Zip = etZip.text!
}
}