Trying to do something I\'ve seen documented in a lot of places, but can\'t seem to manage. I\'m trying to pass data from one view to another during a segue.
Here\'s
You don't need to create a local instance variable of the destination view controller. This will do the same:
[segue.destinationViewController setLocTitle: [myValue valueForKeyPath:@"title"]; [segue.destinationViewController setLocInfo: [myValue valueForKeyPath:@"info"];