Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 713001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:54:44+00:00 2026-05-14T04:54:44+00:00

I’m building an iPad app, and would like to use a tiled display with

  • 0

I’m building an iPad app, and would like to use a “tiled” display with objects arranged in a scrollable grid, similar to the iPhone/iPad home screen and the iPad photos app.

What I’m trying to achieve:

http://dl.getdropbox.com/u/413086/mzl.nbioluoe.480×480-75.jpg

(iTunes link)

Is there any pre-built way in the SDK to do this? If not, how should I go about creating my own?

Update: I think I understand how to do a basic arrangement of the “objects” in a grid, but I don’t know how to make this work with thousands of objects and a scrollable view without using tons of memory and making everything really slow (then again, I still don’t have a device to test on).

Update 2:

Half a month later, I finally found the ideal solution: AQGridView

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:54:45+00:00Added an answer on May 14, 2026 at 4:54 am

    Use or derive from UIScrollView for the view that contains all the tiles. Either implement the delegate - (void)scrollViewDidScroll:(UIScrollView *)scrollView; method or override the - (void)setContentOffset:(CGPoint)contentOffset method. Set the content size of the scroll view as if all the tiles were present.

    When the scroll view scrolls, figure out which tiles will be shown on screen. Then either use a recycling scheme like UITableView does with cells, or just add newly created tiles as needed and delete ones that are farthest from the visible area when you have reached your memory quota. Your example shows 2×3 tiles fully visible so you would need to keep at least 4×5 tiles present.

    If you have two columns of tiles and no horizontal scrolling (not clear from picture), you can just use a UITableView directly and implement a custom UITableViewCell that displays two tiles.

    If you are deriving from UIScrollView, a best practive would be to mirror the interface used by UITableView with dataSource and delegate callbacks. You would have numberOfRows:, numberOfColumns: and tileForRow:column: instead of numberOfRows:, numberOfSections:, and cellForIndexPath: but the principal is the same. It looks like you can use fixed sized tiles which simplifies things a lot.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.