iphone - iOS - UITableView delegate not being set? -


the uitableview object have in storyboard theoretically should have delegate set, not. dragged uitableview object storyboard header , added iboutlet property , synthesized it. however, checked , only data source method being called. seems wrong way i'm implementing main delegate protocol. can see in images below, seem doing standardly? delegate not being set still! thoughts?

image 1

image 2

image 3

image 4

i think reason solution not working because using tableview inside of uiviewcontroller instead of uitableviewcontroller. had same issue while back. here did. create iboutlet header file , synthesize in implementation file (i believe have completed step). go storyboard. control + click on table view , drag connector view controller (the yellow circle white box). select datasource. repeat step again , instead of selecting datasource select delegate. in menu on right-hand side should able see outlets if set correctly. should fix delegate problems.

see screenshot example below:

enter image description here


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -