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 7571561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:42:15+00:00 2026-05-30T15:42:15+00:00

I was wondering what is the best approach in creating a view such as

  • 0

I was wondering what is the best approach in creating a view such as the one on the left hand side of the following link?

I know how to make apps that use the templates in the storyboard but kind of lost on the guideline when it comes to creating custom views. Does it all get created at runtime using code? Do I need to add one subview per section (Gift, Birthday,…) to my main view? any general approach for creating such a view is appreciated.

example interface
(source: fastcodesign.com)

  • 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-30T15:42:16+00:00Added an answer on May 30, 2026 at 3:42 pm

    At the top level it looks like they have a UIToolbar and a UITableView or a UIScrollView. They have used some custom graphics in the toolbar; possibly they have implemented their own toolbar class.

    The table view is probably using a custom UITableViewCell subclass. It is using variable height rows (by defining the tableView:heightForRowAtIndexPath: method in the delegate). They might just be using a scroll view instead of a table view, but I’ll assume it’s a scroll view for this discussion.

    Each cell has appears to have at least three subviews: one to draw the cell’s title bar, one to draw the cell’s contents, and a UIPageControl to draw the page dots under the contents.

    The contents part of the cell looks like it’s probably a scroll view, with some subviews to draw images (UIImageView) and labels (UILabel). The subviews of the scroll view are quite different for the different table view cells.

    You could lay out an interface like this using nibs. I’d probably use four nibs: one for the top-level with the toolbar and the table view, one nib for the table view cell, one nib for the gift layout (which has a UILabel over a UIImageView), and one nib for the person/date
    layout (which has a UIImageView to the left of three UILabels).

    You need to set some properties in code. For example, suppose you have one nib for the overall layout of a table view cell. It probably has a view hierarchy like this:

    UITableViewCell (or subclass)
        UIView to provide the colored stripe across the top
            UIImageView for the icon
            UILabel for the title (“Browse Gifts”, “Birthdays”, etc.)
            UIButton for the disclosure indicator
        UIView to provide the white background with shadow
            UIScrollView to hold the main content of the cell
            UIPageControl
    

    When you load this nib to use for your “Browse Gifts” cell, you need to set the shadow properties of the white background view’s layer, because you can’t do that in the nib. You need to set the color of the stripe, the icon, and the title text of the cell on the appropriate views. You need to add content to the scroll view (which probably involves loading another nib once for each content item). You need to set the number of pages on the page control.

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

Sidebar

Related Questions

I am wondering what the best approach is for creating a horizontal list with
I was wondering what would be the best approach for creating tables in a
I was wondering what the best approach might be for creating a backup of
I was wondering what the best approach would be to the following problem. Say
Was just wondering what the best approach is when creating a multi-lingual website that
I have text in the following format, I was wondering what the best approach
I was wondering, what's the best approach in creating users authentication for my asp.net-mvc
I was wondering what is the best approach for creating a UIview with multiple
I'm wondering about the best approach to designing a DB connection manager for a
I'm wondering what's the best approach for posting dynamic # of form fields and

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.