iphone - Messaging instanciated objects in another class in Objective C -
i using uitableview within uipopover aim set property instantiated object using within original viewcontroller class(from popover launched). cant access declared object(from within viewcontroller class). have tried import viewcontroller class popover class, no avail, object isn't visible within popover class. guidance on appreciated.
your popover controller wrapper place normal uiviewcontroller in give particular effect. therefore, variable in scope in popover controller, need set uiviewcontroller subclass property.
@property (nonatomic, retain) thing *thing;
so main view calling popover initialize uiviewcontroller property above, , pass init method uipopovercontroller , proceed normal.
Comments
Post a Comment