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

  • Home
  • SEARCH
  • 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 7576159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:51:17+00:00 2026-05-30T16:51:17+00:00

According to Apple’s documentation on the View Controller Lifecycle I noticed the following regarding

  • 0

According to Apple’s documentation on the View Controller Lifecycle I noticed the following regarding the dealloc method:

Override this method only to perform any last-minute cleanup of your
view controller class. Objects stored in instance variables and
properties are automatically released; you do not need to release them
explicitly.

I’ve been taught always to call release on instance variables and properties that I own in my view controller’s dealloc method.

The only exception I was aware of is when using ARC but it does not mention ARC in this documentation.

Is this correct?

  • 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-05-30T16:51:19+00:00Added an answer on May 30, 2026 at 4:51 pm

    Since the guide you posted was updated recently, I’m pretty sure that it assumes you’re using ARC (you should do that, after all, if possible).

    You’re correct, before ARC, you had to release your instance variables in the dealloc method (you can see that in the old XCode templates in the dealloc of the App-Delegate). With ARC, this gets handled automatically (as this guide says), so except for special needs, the dealloc method is not used anymore.

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

Sidebar

Related Questions

According to Apple's documentation , NSOutlineView requires each item in the view to be
According to Apple's documentation here , this should work in my code: @interface Menu
According to Apple's docs, Subclasses need not override -[UIView drawRect:] if the subclass is
I'm trying to use CGBitmapContextCreate . According to Apple's documentation the ApplicationServices framework is
According to Apple's documentation , in order to make phone call from my app,
According to Apple documentation on debugging Core Data it says we should be able
According to Apple's documentation , @font-face is deprecated for use on the iPhone version
According to Apple's ARC Documentation , there are a fairly significant number of changes
According to Apple's documentation, setAlwaysUsesMultipleValuesMarker: Sets whether the receiver always returns the multiple values
i have a application i put Default.png for splash screen according to apple's documentation.the

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.