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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:53:51+00:00 2026-06-15T20:53:51+00:00

I am new to iphone and I want to know when does -(void) dealloc

  • 0

I am new to iphone and I want to know when does -(void) dealloc method call. I know it is used to release objects but can we release any kind of object using dealloc method? And is it necessry to add this method and why we write [suped dealloc] in dealooc method?

share your views.

  • 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-06-15T20:53:52+00:00Added an answer on June 15, 2026 at 8:53 pm

    Here is the explanation straight from APPLE’s Docs

    The NSObject class defines a method, dealloc, that is invoked
    automatically when an object has no owners and its memory is
    reclaimed—in Cocoa terminology it is “freed” or “deallocated.”.

    Important

    Never invoke another object’s dealloc method directly.

    Here is the answer why we call [super dealloc]?

    You must invoke the superclass’s implementation at the end of your
    implementation. You should not tie management of system resources to
    object lifetimes

    When an application terminates, objects may not be sent a dealloc
    message. Because the process’s memory is automatically cleared on
    exit, it is more efficient simply to allow the operating system to
    clean up resources than to invoke all the memory management methods.

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

Sidebar

Related Questions

hi i am new iphone programmer i want to know that can we create
I am new to iPhone development, and I want to know how can I
I am new to iPhone development. I want to know if there is any
I m new in iPhone, i want to know what is the difference b/w
i am new to iPhone. i want to know which Encryption /decryption algorithm is
I am new to iphone development. I just want to know that is it
I am new to iphone mobile app development. I just want to know wether
I want to change the in-call menu of the iphone, adding new functions for
I am new in iPhone.i want to know all about NSString so please give
I am new to iphone development and want to know that how to publish

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.