Last week i have downloaded Xcode 4.2, so when i started building apps i’ve tried to add an UITableView to one of my projects (as normal as i have been doing since i began developing) but the UITableView isn’t working. I’ve searching for tutorials but i didn’t found any so:
How can i create an UITableView on Xcode 4.2,for IOS 5?
obs:I’m not using storyBoard just the XIB’s!
in your .h file, add the following:
right-click (or ctrl-click) and drag from your tableView to the File’s Owner twice. Once, select “delegate”, and once select “dataSource”.
Then, in your .m file, you need to implement the following:
That should get you a working tableView.