As the title implies, I'm very much a newbie, and this is the first iOS project I've worked on without exactly following the instructions of my Hillegass book. Unfortunately, I'm stumped on something pretty early on. The gist of the app I'm trying to build is that you can enter a search term, and the app will query the English Wikipedia's API for the titles of that same article on other languages' versions of Wikipedia - so it's basically abusing Wikipedia to use it as a multi-lingual dictionary. I've implemented this as a full-screen UITableView which has a single section with a text field in its header where you enter the search term. The results are fetched and put into the table as table cells.
The problem is that when you enter a term which causes the table to fill with more rows than can be shown on screen ("apple" is one I use often for testing since it has about a zillion results (the fruit, not the company)), the table does not scroll correctly; it doesn't move on a one-on-one ratio with my finger movement, and the scroll bar doesn't appear. And when I let go, it scrolls back to the top position - so basically it's reacting as if the table didn't have enough rows to fill the screen.
I think the problem might be that I'm not allocating the window size to the correct bounds, or perhaps that I need to reallocate its bounds after the table is populated, but in either case I'm not sure what the correct behavior should be.
I've attached my project files, if you can be so kind to take a look. Also, if you have a Stack Overflow account and want some points, you can also answer my same question over there (I posted it a few days ago and haven't got an answer yet). Thanks in advance.
The problem is that when you enter a term which causes the table to fill with more rows than can be shown on screen ("apple" is one I use often for testing since it has about a zillion results (the fruit, not the company)), the table does not scroll correctly; it doesn't move on a one-on-one ratio with my finger movement, and the scroll bar doesn't appear. And when I let go, it scrolls back to the top position - so basically it's reacting as if the table didn't have enough rows to fill the screen.
I think the problem might be that I'm not allocating the window size to the correct bounds, or perhaps that I need to reallocate its bounds after the table is populated, but in either case I'm not sure what the correct behavior should be.
I've attached my project files, if you can be so kind to take a look. Also, if you have a Stack Overflow account and want some points, you can also answer my same question over there (I posted it a few days ago and haven't got an answer yet). Thanks in advance.