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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:28:55+00:00 2026-05-28T17:28:55+00:00

I was reading through Apple’s doc of Basic Memory Management Rules. I came across

  • 0

I was reading through Apple’s doc of Basic Memory Management Rules. I came across a sentence, which is “Any object may have one or more owners.”

What does this mean? An object having 2 owners.
I am not really familiar with the OOP concepts.

  • 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-28T17:28:56+00:00Added an answer on May 28, 2026 at 5:28 pm

    In memory management, if an object owns a reference to another object it retains it.

    Multiple objects can retain an object and when there are no retains on the object, no one owns it and it goes away. A retain increases a reference count and a release decrements it.

    A good analogy is adding a leash to a pet. Multiple folks can add a leash but if no one has a leash on it, it can go away 🙂

    If you are going to use a reference to an object outside of the immediate function that you are getting the reference, then you should retain it. If you call alloc, copy, mutableCopy to get the reference then you just retained it. If you get it by another message name, the standard is it’s autoreleased (which is fine) and will go away at some near point in the future outside the scope of that function.

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

Sidebar

Related Questions

I'm reading through Apple's documentation on CA, and I was trying to do a
I'v been reading through the Apple Docs, read through a couple tutorials online, and
I've been reading through the adobe pdf spec, along with apple's quartz 2d documentation
Reading the documentation and going through the Apple sample codes (and most of the
I'm reading through TableView_iPhone tutorial from Apple and I'm trying to use 'The Technique
Reading through the Flickr API documentation it keeps stating I require an API key
Reading through this question on multi-threaded javascript, I was wondering if there would be
Reading through some of the questions here, the general concensus seems to be that
Reading through the SendAsync , BeginAsync method illustrations of Socket s, I realized that
Reading through documentation, I found following: 1.9.1 1.8.4 1.8.2 A version of 1.8.2 select

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.