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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:59:01+00:00 2026-06-15T09:59:01+00:00

In my current application I wanted to use a a xib file for a

  • 0

In my current application I wanted to use a a xib file for a sub-portion of a screen and re use it in other screens as well.
I loaded a UIView from xib and added it to another UIView which would act as a VC for it.
and that view will be used as a fragment of UI to be used at multiple places.

However, I found this to be a stop gap arrangement which breaks MVC, why is a View handling what a Controller should and also even if everything is handleed by one VC, that VC starts looking like a GOD object.

Then I found that in iOS5 there is a concept of child view controllers for portions of UI.
Has anyone used them ? Is it similar to the concept of fragments in Android ?

  • 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-15T09:59:02+00:00Added an answer on June 15, 2026 at 9:59 am

    Yes, I’ve used them, and they’re easy to use, especially if you use storyboards. Whether they’re like fragments in Android, I can’t say.

    In a storyboard, you can just add a container view (from the objects list), and that will automatically create an embed segue to another controller whose view will be the same size as the container view’s size. That controller will be instantiated by the system (no code on your part) when the controller that contains the container view is.

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

Sidebar

Related Questions

My current application needs to get data from a file to initialize its attributes.
Just wanted some feedback/help with the way I'm architecturing my application. My current solution
Current Application Server Configuration: IIS 6.0 Windows 2003 Server Standard Edition SP2 .NET Framework
The current application that I'm working on seems to recycle the application pool very
In my current application I have a main form: frmMain with a statusstrip and
I'm trying to get the current application name (the application that contains the current
Is there any way to determine if process was invoked by current application? I'm
I'm not sure which is these is appropriate for my current application. I need
A common scenerio we are running into with our current application is where we
Is there a way to find the name (and path) of the current application's

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.