This code works:
@interface StringStuff : NSObject {
}
@property (nonatomic, retain) NSString *String1;
@property (nonatomic, retain) NSStri
Legacy; it used to be (and still is on 32 bit Mac OS X targeted code) that the ivar declarations were required. That is no longer true on iOS, the simulator and 64 bit OS X.
Note that it is common to @synthesize iVar = iVar_;
to prevent accidental direct access where self.iVar
is really required.