views:

70

answers:

1

How do you pass an object to a view controller, right before you push the view to show it?

+4  A: 

Define a property in the view controller, synthesize it, then assign viewController.propertyName = someObject;. Simple as a dimple.

Jacob Relkin