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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T09:41:48+00:00 2026-06-16T09:41:48+00:00

Over the time that I’ve been on StackOverflow, I’ve noticed that some users post

  • 0

Over the time that I’ve been on StackOverflow, I’ve noticed that some users post their code with all of the releases still there although releasing is deprecated. By releasing, I mean something along the lines of:

[self.data release];

Why do users still do this? I know nothing about programming for older versions of iOS, and would love to do so, but when I try to release something in an app I’m building, I get either a deprecation error, or a warning. If what I just said is correct, how do I program for older versions? Also, how do I prevent these errors?

  • 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-16T09:41:49+00:00Added an answer on June 16, 2026 at 9:41 am

    Well, bit of a broad question, and the straight forward answer is: go and read the documentation.

    From documentation advanced memory management

    Objective-C provides two methods of application memory management.

    1) In the method described in this guide, referred to as “manual
    retain-release” or MRR, you explicitly manage memory by keeping track
    of objects you own. This is implemented using a model, known as
    reference counting, that the Foundation class NSObject provides in
    conjunction with the runtime environment.

    2) In Automatic Reference Counting, or ARC, the system uses the same
    reference counting system as MRR, but it inserts the appropriate
    memory management method calls for you at compile-time. You are
    strongly encouraged to use ARC for new projects. If you use ARC, there
    is typically no need to understand the underlying implementation
    described in this document, although it may in some situations be
    helpful. For more about ARC, see Transitioning to ARC Release Notes.

    Well, you are using the second method, but in those olden days programmers used manual- retain-release.. And some old school people (count me as one) still uses them..

    The transition to ARC release notes will walk through this transition..

    EDIT: some additions (first posted as comment, but thought better add it in answer..)

    If you started first at ARC, then that is the way to go. Manual reference counting is difficult/confusing at first, but once learned will help you get a deep understanding of how memory is managed at core level (and trust me that will improve your confidence level as a iOS programmer). Remember that what ARC does is automatically adding this retain/release calls at compile time. So retain release calls are still there, it is just that you don’t have to worry about it.

    You can be an iOS developer without understanding Manual Retain Release paradigm, but nothing bad (and plenty of good) will happen if you learn them.. Something for you to read at bed time.

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

Sidebar

Related Questions

I've noticed over time that Clojure users have nothing but massive enthusiasm for the
I have some ideas, some that I have accumulated over time, but I really
I have a text file that's appended to over time and periodically I want
We have a number of AS/Flex components that we've built over time and improved
I've ran through several examples over the web, and found that every single time
We have a .NET application that has grown over time and now has multiple
I would like to animate a graph that grows over time. This is what
Our software produces a lot of data that is georeferenced and recorded over time.
We are working on updating a code project that has become very messy over
I am working on a casual game with some improvement over time, much like

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.