ios - TableView items are not showing -
i don't know lot xcode. well, know amlost nothin xcode. having problem tableview.
i next this tutorial when seek create myself, works out except tableview items. tutorials i've tried involve table view, give me same problem. no items showed :( going leave download link total project, because i'm not sure code guys need help me.
download link (mediafire)
please help! head explode ....this error i'm getting when seek run app.
// // main.m // demo 2 // // created alexander pina on 2/18/13. // copyright (c) 2013 alexander pina. rights reserved. // #import <uikit/uikit.h> #import "appdelegate.h" int main(int argc, char *argv[]) { @autoreleasepool { homecoming uiapplicationmain(argc, argv, nil, nsstringfromclass([appdelegate class])); } }
in @autoreleasepoo { ... tells me, "thread 1: signal sigabrt
i looked @ project. problem, think, caused bug in xcode. can happen in hooking xib or storyboard files , i've run issues number of times after changing things in file inspector of xib file.
your tab2_tableviewcontroller class code not beingness used, though set custom class name of uitableviewcontroller tab2_tableviewcontroller in storyboard. tested putting breakpoint in viewdidload of tab2_tableviewcontroller subclass , seeing method never called. should work, messed in xcode wasn't working.
i solved problem doing this:
copying tab2_tableviewcontroller.h , .m files folder deleting tab2_tableviewcontroller.h , .m xcode project copying tab2_tableviewcontroller.h , .m other folder xcode project.that's did , solved problem, table view cells beingness loaded view.
actually found improve way prepare issue. in xcode project navigator, select project file. select target demotwo->build phases->compile sources. nail little '+' button , add together tab2_tableviewcontroller.m. when add together files automatically added list, whatever reason file wasn't added in case.
ios objective-c cocoa-touch uitableview
No comments:
Post a Comment