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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:22:07+00:00 2026-05-12T05:22:07+00:00

Suppose you have a window nib, owned by a NSWindowController which loads the nib.

  • 0

Suppose you have a window nib, owned by a NSWindowController which loads the nib.

The NSWindowController has an IBOutlet bound (via Interface Builder) to a UI control on the window.

Is it true that you can’t dispose the window controller by releasing it because the binding causes a unbreakable circular dependency between the window controller and the control?

Do you know any common situation which may lead to similar circular dependencies?

  • 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-12T05:22:08+00:00Added an answer on May 12, 2026 at 5:22 am

    In situations like this, writing a focused sample application, and observing execution in the debugger is a great way to understand how things work.

    Simply binding through File’s Owner should not cause retain cycles (on 10.4 and later). NSWindowController (and NSViewController) take steps to avoid this problem.

    If you do run into a situation where your bindings are causing retain cycles, there are strategies to avoid them. (Further details for your specific setup is probably necessary to over specific advice.)

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

Sidebar

Related Questions

Suppose i have 5 window to be created in which one is parent and
Consider this scenario; suppose I have WPF window which have four objects bonded to
I have a data navigation user control in Silverlight which opens a child window
Suppose I have a Window displaying a UserControl. The UserControl contains a TextBox which
I have class Window. This class has method onClick which gets argument the id
I have a normal WPF window, let's call it TopLevel which has a bunch
For example I have a wpf window bound to an customer Entity (let suppose
Suppose I have a Window with TextBoxes I want to use the values. Right
Suppose I have a javascript object like this: window.config config.UI = { opacity: {
Suppose I have thread 1, the main window UI thread and thread 2, a

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.