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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:25:33+00:00 2026-06-11T04:25:33+00:00

Supposedly weak is like assign or unsafe_unretained , except that a weak variable is

  • 0

Supposedly weak is like assign or unsafe_unretained, except that a weak variable is “zeroed” when the object that it points to is dealloc‘ed. But ARC is handled by the compiler, so why is weak not supported on iOS 4 and Mac OS X 10.6?

(for this question please don’t give a guess as an answer, but something more supported by facts/reference/docs)

  • 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-11T04:25:34+00:00Added an answer on June 11, 2026 at 4:25 am

    Since __weak requires zeroing out one or more pointers in places other than the current object, additional data structures are required to keep track of weak references. This is in contrast to __strong, __unsafe_unretained, and __autoreleasing, which do not require additional tracking. The tracking structures and programs for manipulating them are built into the OS; the compiler inserts the code to perform the calls, but the OS support needs to be there in order for the compiled code to work.

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

Sidebar

Related Questions

Under ARC , I have an object, Child that has a weak property, parent
I have the following simple code for an object that holds a weak reference:
I know that this is supposedly a super simple question, but I've been struggling
I have a button that supposedly toggles between different if statements, but I'm not
I want to drop a now supposedly redundant file in SQL Server (2005), but
I've read that it's supposedly a good idea to split an aggregator project (the
I've just read an article that supposedly introduced me to a new concept: Up
It's supposedly faster than a vector, but I don't really understand how locality of
A URL supposedly locates (and not simply identifies) a resource; a corollary is that
Supposedly, microsoft says that we should all be using Entity Framework, using LINQ (to

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.