ios - Runtime error: Unrecognized selector sent to instance -
i'm new using mac , ios development. today followed this tutorial on how bind data table view making use of prototype cells , story board. i've got part of tutorial should able run app bound data shows in uitableview this:
my app compiles fine, starts running hits runtime error:
[viewcontroller viewcontrollers]: unrecognized selector sent instance
i have tried going through tutorial several times now. i've followed tutorial says , have created 3 different projects scratch make sure nothing going wrong. can me fix error? i've spent hours trying work out what's going wrong, , don't want give ios development seems exciting compared other platforms!
unrecognized selector means there undefined method being called.
one thing see if there compiler warnings. give any? have look, may give clue undefined.
the tutorial refers viewcontroller class. looks class used briefly @ start of tutorial replaced class. may remove class later on altogether. check if wire tab bar controller properly. have set "an entry point"?
check storyboard. incoming arrow point to? compare 2 images below. first has entry arrow pointing viewcontroller (my guess), second - arrow point tab bar controller
.
Comments
Post a Comment