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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:38:43+00:00 2026-05-23T00:38:43+00:00

I just downloaded the newest iOS SDK (4.3) and noticed that when I start

  • 0

I just downloaded the newest iOS SDK (4.3) and noticed that when I start a Window Based Application, the UIWindow is not declared in the header file, it is only mentioned as a property.

#import <UIKit/UIKit.h>

@interface GleekAppDelegate : NSObject <UIApplicationDelegate> {
    IBOutlet UILabel *label;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@end

I would expect, and remember from older SDK’s, that the above code should be

#import <UIKit/UIKit.h>

@interface GleekAppDelegate : NSObject <UIApplicationDelegate> {
    IBOutlet UILabel *label;

    UIWindow *window;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@end

Is that just a new feature of the SDK?

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-23T00:38:43+00:00Added an answer on May 23, 2026 at 12:38 am

    The new Objective-C runtime has the ability to synthesize ivars without explicitly declaring them. From Runtime Difference in The Objective-C Programming Language:

    In general the behavior of properties
    is identical on both modern and legacy
    runtimes (see “Runtime Versions and
    Platforms” in Objective-C Runtime
    Programming Guide). There is one key
    difference: the modern runtime
    supports instance variable synthesis
    whereas the legacy runtime does not.

    …

    With the modern runtime, if you do not
    provide an instance variable, the
    compiler adds one for you.

    From Runtime Versions and Platforms in Objective-C Runtime Programming Guide:

    • Phone applications and 64-bit programs on Mac OS X v10.5 and later
      use the modern version of the runtime.

    • Other programs (32-bit programs on Mac OS X desktop) use the legacy
      version of the runtime.

    Also have a look at this questions:

    • Objective C: Why do we declare ivars in the .h member area if @property seems to do it automatically?

    • What is the underlying mechanism for ivar synthesis in the modern Objective C runtime

    • Automatic iVars with @synthesize

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

Sidebar

Related Questions

I just downloaded 2.2.1 and i've seen that my input view does not adjust
I've just downloaded the newest beta of CakePHP 1.3 for a new project (not
Just downloaded AMD-APP-SDK-v2.5-RC2-lnx32 , why i got this: GPU not found. , when i
Just downloaded the Visual Studio 2010 Premium and realized that can't compile the project,
I just downloaded the release version of MVC 2, pretty excited about that! Problem
I just downloaded this code in which it says in the manual that the
I just downloaded and installed the newest Netbeans IDE 7.0 Java EE edition (with
Just Downloaded the WP7 SDK yestarday - And I'm new to Silver light -
Just downloaded the new Kinect SDK Beta from Microsoft and am really excited to
I just downloaded the Java ME Platform SDK 3.0 and created my frist Midlet

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.