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

  • SEARCH
  • Home
  • 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 8068739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:47:09+00:00 2026-06-05T12:47:09+00:00

I have a list of items in an Array. The items in the array

  • 0

I have a list of items in an Array. The items in the array is an NSDictionary which have an id(nick name) and a url to the profile picture. I need to show each item (Profile image and Id) inside a horizontal scroll view. If I need to show it as a vertical scroll view, I can use UItableView. But now I need a Horizontal Scroll View. Is there any good idea to implement this feature. If I use UITableView, I can show each item in UITableViewCell. If I use UIScrollView with horizontal scroll enabled, which control is the best to contain ID and IMAGE, UITableViewCell or UIView?

Thanks in advance

  • 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-06-05T12:47:10+00:00Added an answer on June 5, 2026 at 12:47 pm

    I have used a horizontal scroll that contains items
    The idea was that each item has a width, and the horizontal scroll has a horizontal spacing between items

    The placing of item “i” was done roughly like this

    SizeOfItem * i + (i-1)ItemSpacing
    

    I used to add a TapGestureRecognizer or a UIButton on each item i inserted in this control, i did that in order to present some delegate functions such as didSelectItemAtIndex:

    The best way to implement it is using a custom UIView, also take note that you will need to present datasources and Delegates in order to make your HorizontalScroller easier to deal with.

    I know this is a very general, but creating a horizontal item needs some work

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

Sidebar

Related Questions

For example, I have a list of items and each item has a name.
I have a list of items. When I create the list each item has
Imagine you have a list of items which is an array of objects (fields:
I have a list of items, which has two values, a name and an
I'm a little confused with my array creation. I have a list of items
I have a list which is dynamically built, but there are empty list items
I have a list of items: <item>a</item> <item>x</item> <item>c</item> <item>z</item> and I want as
I have a list of items that I need to update on different intervals.
I have list of DateTime values, and for each value I need to fetch
I have a list of items I'd like to show in a UITableViewCell. Right

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.