• 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: pointer address changes for no reason
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pointer address changes for no reason


  • Subject: Re: pointer address changes for no reason
  • From: "Ewan Delanoy" <email@hidden>
  • Date: Wed, 11 Apr 2007 18:38:16 +0200 (CEST)
  • Importance: Normal

>Of course I'm taking
>what you wrote literally, assuming that you didn't mean
>"...".

  Yes, I meant it literally.

>If you don't retain it, then you shouldn't release it--
>if super retains it
>during allocation, then super will release it during
>deallocation

    You're right. I made that mistake
because I thought there was a difference between
the allocation phase (where initWithNibNamed: (or
some variant) is called, not just init:) and the deallocation
phase (where plain dealloc: is called). That's not what
caused the bug, though, as I have just checked.

                                     Ewan


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Re: pointer address changes for no reason (From: "Ewan Delanoy" <email@hidden>)
 >Re: pointer address changes for no reason (From: Scott Ribe <email@hidden>)

  • Prev by Date: Resizing NSView with handles
  • Next by Date: Re: Multi windows in Document-based app, but 1 Nib
  • Previous by thread: Re: pointer address changes for no reason
  • Next by thread: Re: pointer address changes for no reason
  • Index(es):
    • Date
    • Thread