views:

65

answers:

1

Hiya,

While implementing TableView I've stuck with the problem that I somehow has broken "lazy" loading behaviour of UITableView. Now upon entering the screen it loads all the cells (both visible and invisible).

Could someone point out where I should look at? In IB I have such an organization:

-> UIView

--> UIScrollView

---> UITableView

---> UIImageView

---> etc

Could this be a problem?

A: 

Solved it by myself. I am a bit new to iOS/OSX development (i.e. question is n00b :).

It appears that UITableView has to manage scrolling, otherwise it doesn't know which cells are visible, it looks into its frame property and draws cell which are visible in its view.

So, now I've got this IB config for a screen:

-> UITableView

--> UIView

---> UIImageView

---> all other views

That seems to be right.

valdyr