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

Re: Preprocessor To Generate @property/@synthesize?


  • Subject: Re: Preprocessor To Generate @property/@synthesize?
  • From: Kevin Callahan <email@hidden>
  • Date: Thu, 15 May 2008 10:22:17 -0700


On May 15, 2008, at 10:09 AM, Johnny Lundy wrote:

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.

I already have this implemented in the next update to Accessorizer coming soon ! Kevin


http://www.kevincallahan.org/ http://www.kevincallahan.org/software/accessorizer.html http://www.xeniamara.com/






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




_______________________________________________
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: 
 >Preprocessor To Generate @property/@synthesize? (From: Johnny Lundy <email@hidden>)

  • Prev by Date: Preprocessor To Generate @property/@synthesize?
  • Next by Date: break on auto_refcount_underflow_error to debug
  • Previous by thread: Preprocessor To Generate @property/@synthesize?
  • Next by thread: Re: Preprocessor To Generate @property/@synthesize?
  • Index(es):
    • Date
    • Thread