iphone - Unable to link UITable delegate to File Owner in IB of xcode -


i facing issue , -

i using tabbarcpntroller in application. in there 2 views. both views have tables in that.

i able display , populate table in first view try connect delegate of uitable in ib second view , run code, crashes.

ps: using same code in first view.

kindly me out suggestions, highly grateful

thanks in advance!!

by looks of question, need uitableview, not uitable, if using, have problems.

in header, must define uitableview iboutlet.

.h

@interface yourviewcontroller : uiviewcontroller  <uitableviewdelegate,                                                                 uitableviewdatasource> {     iboutlet uitableview *mytable; } @property (nonatomic, retain) uitableview *mytable; @end 

once have done this, build (only) code, interface builder see outlet , can connect it.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -