• 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
Preprocessor To Generate @property/@synthesize?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preprocessor To Generate @property/@synthesize?


  • Subject: Preprocessor To Generate @property/@synthesize?
  • From: Johnny Lundy <email@hidden>
  • Date: Thu, 15 May 2008 13:09:57 -0400

Is there any preprocessor construct to generate @property and @synthesize directives from a variable declaration? I'm wondering if having to copy the same symbol name to three different places is the normal procedure.

E.g., given

NSString *myString;

Would generate

@property (readwrite, copy) NSString *myString;

and

@synthesize myString;

I doubt it, but thought I would ask.

Thanks
_______________________________________________
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


  • Follow-Ups:
    • Re: Preprocessor To Generate @property/@synthesize?
      • From: Kevin Callahan <email@hidden>
  • Prev by Date: Re: Repeating Recent Searches
  • Next by Date: Re: Preprocessor To Generate @property/@synthesize?
  • Previous by thread: Re: Repeating Recent Searches
  • Next by thread: Re: Preprocessor To Generate @property/@synthesize?
  • Index(es):
    • Date
    • Thread