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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:39:49+00:00 2026-05-26T08:39:49+00:00

I create a new project using xcode4.2, and view the AppDelegate: @property (strong, nonatomic)

  • 0

I create a new project using xcode4.2, and view the AppDelegate:


@property (strong, nonatomic) UIWindow *window;

I know the strong is a new qualify in Xcode for ARC.However I didn’t select using ARC while creating the project. As a result it is boring me.
Moreover,what does the below mean:


@synthesize window = _window;

Is _window a instance variable? But it didn’t declare in the header file.I can understand if _window declared in the header but failed in this style.
Is it kind of modern obj-c runtime?

thanks!

  • 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-26T08:39:49+00:00Added an answer on May 26, 2026 at 8:39 am

    strong is effectively the same as retain. I’m not sure if the compiler automatically translates that into retain for non ARC code or not. If not, it should generate a warning I would think.

    @synthesize window = _window;
    

    says the backing instance variable for the property window is _window. In the modern run time for iOS and 64 bit OS X, the instance variable is created automatically if you don’t explicitly declare it in your header.

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

Sidebar

Related Questions

OK, here is how to re-create the problem had: Create a new project, using
Trying to get custom Done button in Utility Application Create new project in Xcode
I created a new project in Xcode 4 using the Cocoa Application template and
Suppose you create a new Mac OS Command Line Application using Xcode , which
When I set up a new project in Xcode 4, and select Create local
I’m trying to create a new project using the Silverlight 4 business application template
I'm using acmkdir to initialize a new project and it created a README.in file
I can't create New Project on my Visual Web Developer 2008 Express with SP1.
Every time I create a new project I copy the last project's ant file
How can I create a New project & Solution in the same, existing ,

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.