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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:36:44+00:00 2026-05-25T11:36:44+00:00

I am new to objective C so I am bit confused on how to

  • 0

I am new to objective C so I am bit confused on how to load another UIView. here is the code I have written to goto another UIView :

            [[NSBundle mainBundle] loadNibNamed:@"NotificationsView" owner:self options:nil];

and in the header of this file I have included notifications.h and @class Notifications and in the .m file I have also included notifications.h

now in the notifications.h I have made an IBOutlet for the UIView and have linked the UIView to it

@property (nonatomic, retain) IBOutlet UIView *NotificationsView;

I have also @synthesize NotificationsView; in the .m file.

with all those things done, I still get an error when I try to load the nib using the code I shared at the top of this post, can someone tell me what it is that I am doing wrong?

Thanks

  • 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-25T11:36:45+00:00Added an answer on May 25, 2026 at 11:36 am

    have you made all the connections to files owner in IB?

    Also did you use ‘viewDidLoad’ to create the entire view?

    Also check out this URL:
    http://www.iphonedevsdk.com/forum/iphone-sdk-development/6206-how-create-uiview-uiviewcontroller-programatically-without-using-nib.html

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

Sidebar

Related Questions

I am lil bit new to objective C. Here is my requirement. I have
I'm a bit confused on how copying objects works in Objective C. Here's what
I'm new to Objective-C and have a little bit of problem. I made an
I am new to objective-c. I have the following: @interface HPSEnumerations : NSObject typedef
I'm new in objective-C and i wonder if its correct: I have a class
In several pieces of sample objective-c code I've seen people create new objects like
I am new to Objective-C and a bit rusty at using C++ and templates,
I have two activities one displaying map view and another listview, the main objective
I'm a bit new to objective-c and even newer at programming with Quartz 2D,
I am trying to write a bit of Objective-C (which is new for me,

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.