Loading more content when scrolling hits end

Discussion in 'Mac Programming' started by Starfox, Dec 12, 2011.

  1. macrumors regular

    Apr 7, 2011
    I have an app with a table view that I want to load more content when the user has scrolled to its end - where should I start with implementing that? How can I be notified of the scrolling reaching the end?
  2. Moderator emeritus


    Jun 15, 2000
    If the row in tableView:objectValueForTableColumn:row: is your data source's last object, then you're at the end. It doesn't get requested until it's about to be made visible in the view.

    Then you could load more data (in the background!) and reload the table when done.

Share This Page