3 @interface MyObject : NSObject {
8 @implementation MyObject // warn: lacks 'dealloc'
11 @interface MyObject : NSObject {}
12 @property(assign) id myproperty;
15 @implementation MyObject // warn: does not send 'dealloc' to super
21 @interface MyObject : NSObject {
24 @property(retain) id myproperty;
27 @implementation MyObject
28 @synthesize myproperty = _myproperty;
29 // warn: var was retained but wasn't released
35 @interface MyObject : NSObject {
38 @property(assign) id myproperty;
41 @implementation MyObject
42 @synthesize myproperty = _myproperty;
43 // warn: var wasn't retained but was released
45 [_myproperty release];