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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:07:02+00:00 2026-06-04T14:07:02+00:00

I have just started programming on iOS a couple of weeks ago, so sorry

  • 0

I have just started programming on iOS a couple of weeks ago, so sorry if these questions are really basic.

Short story: I am designing a CRM app that needs capturing a lot of customer data. I am trying to emulate a desktop app that uses tabbed forms. What would be the best way (technically and visually) to implement this on an iPad?

I need the following:

  • each tab (5-6 of them) to contain a number of fields (with labels) of various types, for which I would love to use specialized controls (eg uidatepicker, uipickerview/uisegmentedcontrol, textarea+stepper, switch etc.), not just raw text fields
  • ideally (actually this is a pretty key requirement) the UI would have to be generated programatically, so that a change of model wouldn’t require manually adjusting the forms in IB
  • be able to switch between tabs without losing the data already entered in the current tab.

My progress so far, re. overall switching mechanism:

  • I initially thought to have the tabs switcher implemented as a segmented control, switching between different views as described in Matthias’ comment here. Instantiating VCs on demand however means losing the data already entered (unless I’d implement some sort of caching, but I’m hoping for something simpler).

  • I’m now considering the much easier approach of switching views by showing/hiding them programatically, but I’m afraid this might use too much memory (I’m looking at possibly over 100 fields in total).

As for representing the form fields within each tab:

  • I could lay them out manually in IB (or as static cells in a tableview) but I’d really prefer not to do that, as it would basically mean the UI is hardcoded and hard to change
  • I’d prefer to create the interface programatically, but I don’t know how easy it is to handle the different field types, attach popups (e.g. for datepickers for date fields), handle field events etc.

If someone has any pointers I could use, I’d really appreciate it.

TIA,
Lucian

  • 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-04T14:07:04+00:00Added an answer on June 4, 2026 at 2:07 pm

    I think you’re on the right track with one view controller, owning one view that then has sub-views that you hide/show as needed.

    Broadly:

    • one top level UIView, which contains the tab buttons (use ordinary UIButtons for this), and owns several UIViews
    • Each UIView has the fields needed for each “tab”

    Then to switch tabs, just hide one view and show another and all will be well.

    I wouldn’t worry about memory consumption – an iPad has easily enough memory for 100s of UI controls, since I don’t expect you’d be doing lots of custom graphics. If you do run low on memory, you can always just create the controls as needed for each tab – it will take a bit longer to switch tabs, but would work.

    As for programmatically laying things out: this is entirely possible. You have 2 basic options when creating an iPad UI – use XIB files (designed using the graphical designer in XCode), or doing it in code, typically in -viewWillAppear or -viewDidLoad. All the relevant things can be done – look at the docs for each UI control to figure out how to configure it.

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

Sidebar

Related Questions

Just getting started with Obj-C and iOS programming. I have some code that loads
I just started to learn iOS programming and I have a problem with inheritance.
I just started to learn iOS programming and I have a problem with inheritance.
NEWBIE, Newbie, newbie question, sorry. I've just started programming in C# (coming long ago
Sorry for possibly a complete noob question but I have just started programming with
I have just started programming and have made a few small applications in C
I have just started the Assembly language programming and in the first lecture our
I have just started reading Modern C++ Design Generic programming and Design Patterns Applied
I have just started coding in AS3 and it would be really great to
I have just started with Gui Programming in netbeans (Using the template Java Desktop

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.