• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Why does Xcode define IBOutlet with @synthesize?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why does Xcode define IBOutlet with @synthesize?


  • Subject: Why does Xcode define IBOutlet with @synthesize?
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 23 Sep 2011 15:24:54 -0700

When creating a new project in Xcode 4.1, I get a window which is declared in the app delegate as:

   @property (assign) IBOutlet NSWindow *window;

and defined as

   @synthesize window ;

Is this not going to create unnecessary unnecessary setter and getter implementations?  Would not @dynamic be more appropriate in this situation?







_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why does Xcode define IBOutlet with @synthesize?
      • From: Quincey Morris <email@hidden>
    • Re: Why does Xcode define IBOutlet with @synthesize?
      • From: Charles Srstka <email@hidden>
  • Prev by Date: Re: Document opening in Lion
  • Next by Date: Re: UTI in Lion
  • Previous by thread: Asynchronous document migration use cases
  • Next by thread: Re: Why does Xcode define IBOutlet with @synthesize?
  • Index(es):
    • Date
    • Thread