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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:24:21+00:00 2026-05-28T17:24:21+00:00

So initially I thought I wasn’t going to need XIB files and can generate

  • 0

So initially I thought I wasn’t going to need XIB files and can generate my view programatically with loadView, therefore, when I modeled out my classes, I decided not to create the XIB file.

Now I changed my mind and decided I DO want a xib file to my already created classes. So I previously had an HomeViewController.m/h files. In XCode, I went File–> New–> User Interface–> View, and created an HomeViewController.xib file.

In my App Delegate, I tried doing this:

HomeViewController *home = [[HomeViewController alloc] init];
self.window.rootViewController = home;

I also tried this:

HomeViewController *home = [[HomeViewController alloc] initWithNibName:@"HomeViewController" bundle:nil];
self.window.rootViewController = home;

In both cases, I get a SIGABRT error. If I DON’T add the home UIViewController to the rootViewController, I get no error, but obviously nothing on screen.

Thoughts?

  • 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-28T17:24:23+00:00Added an answer on May 28, 2026 at 5:24 pm

    Most probably your nib objects refer to other class..

    In you xib file..in the identity inspector..make sure every object has the class name of HomeViewController .

    Hope it helps.

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

Sidebar

Related Questions

Initially I thought this was going to work, but now I understand it won't
I initially thought this was a problem with my .htaccess files, however even after
I initially thought that 64 bit instructions would not work on OS-X 10.5. I
I initially thought that how to pass class attribute and value to markdown syntax
For example: a) int [x][y][z] vs b) int[x*y*z] Initially thought I'd go with a)
My animationDidStop method is not being called for some reason, initially I thought it
I am struggling with a SQL query that I initially thought should be quite
I initially thought they're all the same, but it turned out to be wrong.
So, I've written a small and, from what I initially thought, easy method in
I initially thought a regex to remove YUI3 classNames (or whole class attributes) 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.