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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:18:20+00:00 2026-05-29T07:18:20+00:00

In previous versions of Interface Builder, when I want to lazy load views programatically,

  • 0

In previous versions of Interface Builder, when I want to lazy load views programatically, I would do something like:

self.customView = [[NSBundle mainBundle] loadNibNamed:@"CustomView" owner:nil];

If I understand correctly, this was the proper way to do it. There does not seem to be a way to do this with storyboards, as there is no way to add a view into the storyboard itself(without being part of a view controller).

I have a view controller that manages multiple views. I do not want them all to be loaded on viewDidLoad, so I’d rather not include them in view controller’s nib. Is there another way? if not, I could still create nibs and still use loadNibNamed. Can someone advise on whether this is an appropriate strategy, to mix nibs and storyboards? The fact that Apple has disallowed this kind of view loading in storyboards makes me slightly worried.

  • 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-29T07:18:21+00:00Added an answer on May 29, 2026 at 7:18 am

    Can someone advise on whether this is an appropriate strategy, to mix nibs and storyboards?

    XIBS and Storyboards are not mutually exclusive. There is no reason why you should not use both in the same application. I’m actually using multiple Storyboards and xibs in the same application. Works fine.

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

Sidebar

Related Questions

I want to create previous versions so a user can undo changes made and
In earlier versions of C# IEnumerable was defined like this: public interface IEnumerable<T> :
Previous versions of JBoss included a scripts (like jboss_init_redhat.sh ) that could be copied
In previous versions of Java, I would read a file by creating a buffered
I'd like to pair a Model with it's View through an interface. I want
I have a windows service which runs like a scheduler, it extends an interface
In previous versions of DynamicData you could override GetFilteredColumns method from FilterRepeater to manage
At least in previous versions of SQL Server, you had to prefix Unicode string
Actionscript 3.0 is much more powerful than its previous versions. Does this mean that
In previous versions of Visual Studio, there was a single entry point to an

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.