• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: showing window causes EXC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: showing window causes EXC_BAD_ACCESS


  • Subject: Re: showing window causes EXC_BAD_ACCESS
  • From: Daniel Child <email@hidden>
  • Date: Fri, 26 Sep 2008 14:45:13 -0400

I should? Then how do I get the reference back? If windowA is a window outlet in my AppController, then first time around I don't do anything. It is automatically assigned a reference when the window loads, and I can use makeKeyAndOrderFront.

But if I choose to automatically release the window on closing, how do I get the variable windowA reassigned to the window? I don't want to reload the entire nib because there may be other things in the nib that don't need to be reloaded....

On Sep 26, 2008, at 1:33 PM, email@hidden wrote:

Message: 1
Date: Fri, 26 Sep 2008 10:34:50 -0500
From: Scott Ribe <email@hidden>
Subject: Re: showing window causes EXC_BAD_ACCESS
To: Michael Ash <email@hidden>,	Cocoa Developers
	<email@hidden>
Message-ID: <C5026B4A.A4034%email@hidden>
Content-Type: text/plain;	charset="US-ASCII"

I can't think of a single reasonable use case for it

An app with many windows, many of which can display multiple instances at a
time--they should be released when closed.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: showing window causes EXC_BAD_ACCESS
      • From: "Michael Ash" <email@hidden>
    • Re: showing window causes EXC_BAD_ACCESS
      • From: Charles Steinman <email@hidden>
  • Prev by Date: window controllers and managed object contexts
  • Next by Date: Re: window controllers and managed object contexts
  • Previous by thread: Re: showing window causes EXC_BAD_ACCESS
  • Next by thread: Re: showing window causes EXC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread