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

  • Home
  • SEARCH
  • 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 1038595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:59:41+00:00 2026-05-16T14:59:41+00:00

Using IB, I have dropped an NSView (menuView) inside another. I have set up

  • 0

Using IB, I have dropped an NSView (menuView) inside another.

I have set up my outlet and connected it to menuView.

I thought: ” [self.menuView setHidden:NO] ” would unhide it but it seems not to be working.

What else do I have to do?

  • 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-16T14:59:41+00:00Added an answer on May 16, 2026 at 2:59 pm

    Let’s call the object with the connected outlet Fred.

    You instantiated Fred in the nib, right?

    And you have Fred loading the nib, right?

    If the answer to either of those two questions was “no”, then disregard this answer.

    If the answer to both of them was “yes”, then continue reading.

    That’s wrong. Fred should do only one of these two things. Chances are, you meant to make Fred the File’s Owner, and hook up the connection there. The extra Fred you created in the nib is just that—an extra Fred, second to the Fred that loaded the nib. You have two Freds, and the one you have reporting the connection (in response to an action message, I’m guessing) is not the one whose outlet you connected to the menu view.

    Kill off the Fred in the nib, leaving only the Fred that loads the nib. In the nib, declare the File’s Owner as being of Fred’s class, and in Fred’s implementation, make sure that you are the File’s Owner when you load the nib.

    If you’re using NSWindowController to load it, you need to pass yourself as owner explicitly; otherwise, the NSWindowController is the owner. Since you want Fred to be the owner, you need to tell the window controller that when you instantiate it. The alternative is to use NSBundle to load the nib directly, without an intervening window controller.

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

Sidebar

Related Questions

I have a set of items that can be dragged / dropped using Dojo
I have a NSWindow with an NSView and an NSTextField inside. I'm using Interface
Using SQLServer 2005 I have dropped some tables (via a T-SQL query) and they
I have an SQL script that connects to another database using create database link,
Using the dragenter event I show a dropzone on the webpage to have dropped
I would like to have dockable panels using jquery that behave much like the
I have a JBoss 5.0.1.GA instance. We have been using a self-signed SSL certificate
I have three connected sortable lists using JqueryUI : list1, list 2 and list
i have using aqua data studio to run my query from sql server 2005.
I have three classes that I am using and have shortened for ease of

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.