Reputation: 33056
How do you pass an object to a view controller, right before you push the view to show it?
Upvotes: 0
Views: 585
Reputation: 163308
Define a property in the view controller, synthesize
it, then assign viewController.propertyName = someObject;
. Simple as a dimple.
Upvotes: 5