• 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: "Kyle Sluder" <email@hidden>
  • Date: Fri, 26 Sep 2008 00:17:49 -0400

On Fri, Sep 26, 2008 at 12:07 AM, Michael Ash <email@hidden> wrote:
> Wandering slightly, but this makes me wonder, why does this flag
> exist? I can't think of a single reasonable use case for it, and it
> seems to cause no end to trouble to people who have somehow enabled it
> without knowing it. It violates the memory management rules and makes
> programs crash. Is there a good use case for it, or is it just some
> sort of leftover?

The bigger problem, I think, is that the flag is enabled by default
when creating windows in Interface Builder.  There are plenty of
advanced options such as the backing store type that aren't configured
improperly by default.

Perhaps it was originally a way of breaking nib-induced retain cycles?

--Kyle Sluder
_______________________________________________

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

References: 
 >showing window causes EXC_BAD_ACCESS (From: Daniel Child <email@hidden>)
 >Re: showing window causes EXC_BAD_ACCESS (From: "Kyle Sluder" <email@hidden>)
 >Re: showing window causes EXC_BAD_ACCESS (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: What happens to the user dictionary when coalescing notifications in NSNotificationQueue?
  • Next by Date: KVO observing across to-many relationships
  • Previous by thread: Re: showing window causes EXC_BAD_ACCESS
  • Next by thread: Re: showing window causes EXC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread