4 @interface BasicClass : RootObject {
9 @property(nonatomic, assign) int bar;
10 @property(atomic, retain) id objectField;
11 @property(nonatomic, assign) id delegate;
16 @implementation BasicClass
18 @synthesize bar = _bar;
19 @synthesize objectField = _objectField;
20 @synthesize delegate = _delegate;
24 _foo = (_boolean != 0) ? self.bar : [self.objectField bar];
26 id obj = self.objectField;