• 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
Re: Xcode suddenly not generating @synthesize when @property added
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode suddenly not generating @synthesize when @property added


  • Subject: Re: Xcode suddenly not generating @synthesize when @property added
  • From: IPhone Lover <email@hidden>
  • Date: Wed, 18 Apr 2012 02:41:44 +0530

Did not get your question properly. It will give you warning if you do add the @synthesize in your implementation file. properties should be synthesize to generate the getter/setter method by the compiler.

On Wed, Apr 18, 2012 at 2:07 AM, Peter Teeson <email@hidden> wrote:
I just created a new non-document project using XCode 4.3.2 and did New File to create a new .m/.h pair for a sub-class of NSView.
When I add @property to the .h file the @synthesize is not added to the .m and a warning issue is indicated.
This used to work properly for me and I have not deliberately changed anything in Xcode.

As another data point I went in to previous projects where this worked, added an @property but no @synthesize was generated;
Can't think of what I might be doing wrong with this simple, reproducible situation.

Has anyone else seen this? Suggestions to track down why?
Or since it seems to be Xcode itself perhaps I should re-install Xcode?
Very bizarre.

TIA and respect…

Peter
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Xcode suddenly not generating @synthesize when @property added (From: Peter Teeson <email@hidden>)

  • Prev by Date: Xcode suddenly not generating @synthesize when @property added
  • Next by Date: Re: Linker Error - Symbol Not Found
  • Previous by thread: Xcode suddenly not generating @synthesize when @property added
  • Next by thread: Re: Xcode suddenly not generating @synthesize when @property added
  • Index(es):
    • Date
    • Thread