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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -