iphone Programming Glossary: childview
Setting property value of parent viewcontroller class from child viewcontroller? http://stackoverflow.com/questions/1368757/setting-property-value-of-parent-viewcontroller-class-from-child-viewcontroller to create a delegate pattern looking somewhat like this ParentView.h @protocol IAmYourFatherAndMotherProtocol @class ChildView @interface ParentView UIViewController IAmYourFatherAndMotherProtocol NSInteger statusID @property nonatomic NSInteger statusID.. NSInteger statusID @protocol IAmYourFatherAndMotherProtocol @property nonatomic NSInteger statusID @end @end in ChildView.h #import ParentView.h @interface ChildView UIViewController id IAmYourFatherAndMotherProtocol delegate @property nonatomic.. @property nonatomic NSInteger statusID @end @end in ChildView.h #import ParentView.h @interface ChildView UIViewController id IAmYourFatherAndMotherProtocol delegate @property nonatomic assign id IAmYourFatherAndMotherProtocol..
How to Access String Variable in One View Controller to Another view Controller http://stackoverflow.com/questions/2228242/how-to-access-string-variable-in-one-view-controller-to-another-view-controller you are using but something like this MyChildController tmpViewController MyChildController alloc initWithNibName @ ChildView bundle nil tmpViewController.myParentController self This of course requires you to create a property in the child controller..
|