• 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
ARC and dealloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ARC and dealloc


  • Subject: ARC and dealloc
  • From: Mikkel Islay <email@hidden>
  • Date: Wed, 07 Dec 2011 21:56:56 +0100

Dear list,

A question regarding the proper use of dealloc in ARC-environments (under iOS):
I have a need to unregister NSNotification observers during exchange of UiViewControllers. Is implementing - (void)dealloc considered a proper use for this purpose? Is it safe to make assumptions regarding when in the release-process dealloc is called?

Incidentally, the Apple List search tool appears not to work (i.e. returns no results).

Thanks,
Mikkel Islay

_______________________________________________

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: ARC and dealloc
      • From: Jonny Yu <email@hidden>
  • Prev by Date: How to initiate drag&drop for a filename outside of NSView mouseDown
  • Next by Date: iOS: How to hide blue personal hotspot status bar?
  • Previous by thread: Re: How to initiate drag&drop for a filename outside of NSView mouseDown
  • Next by thread: Re: ARC and dealloc
  • Index(es):
    • Date
    • Thread