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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:59:55+00:00 2026-06-12T16:59:55+00:00

I have read in multiple places that only one UIViewController should be on screen

  • 0

I have read in multiple places that only one UIViewController should be on screen at a time. But I don’t quite understand how to accomplish what I need otherwise.

Imagine the weather app. There is a single view controller with a scroll view, to which multiple views are added (the weather panels). Presumably these are all added and managed by the main UIViewController, which is also responsible for scrolling, etc.

But imagine each of those weather panels was instead a CarView, each with data about a specific type of car, and some controls to edit that data.

Wouldn’t it make sense to have a series of CarViewControllers, each with a Car property that they can manipulate? Each CarViewController would be responsible for it’s car data object, it’s view, and glueing them together, and the main view controller would simply be responsible for adding each carViewController.view to its scrollview.

Isn’t this better for re-usability and encapsulation? Not to mention more convenient.

  • 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-12T16:59:56+00:00Added an answer on June 12, 2026 at 4:59 pm

    It seems like this now explicitly supported in iOS 5 using a container view controller.

    There are not a lot of resources yet that discuss it, but this WWDC session is useful.

    This question also provides some resources.

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

Sidebar

Related Questions

I read at multiple places that Boost.Signals is not threadsafe but I haven't found
I have read it here : CodeProject and some other places that there should
I am learning GWT and i have read at multiple places that using MVP
If we have a website with multiple images and videos, I've read that it's
I've read multiple places that you shouldn't store arrays in a mysql db. So
I have read multiple articles about why singletons are bad. I know it has
Thanks for reading. I have done a search, read multiple posts (lost count) and
I have read few articles about table partioning but still I am bit confused
I have read some of the questions and answers here, but it none match
We have WebRole, that hosting multiple sites. We made startup tasks for each site

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.