32 lines · plain
1// Matching properties2@interface I1 {3}4- (int)getProp2;5- (void)setProp2:(int)value;6@end7 8// Mismatched property9@interface I210@property (readonly) float Prop1;11@end12 13// Properties with implementations14@interface I3 {15 int ivar1;16 int ivar2;17 int ivar3;18 int Prop4;19}20@property int Prop1;21@property int Prop2;22@property int Prop3;23@property int Prop4;24@end25 26@implementation I327@synthesize Prop1 = ivar1;28@synthesize Prop2 = ivar3;29@dynamic Prop3;30@synthesize Prop4;31@end32