Home | History | Annotate | Download | only in designated-init-in-header
      1 #include "header1.h"
      2 
      3 @implementation S1
      4 -(int)prop { return 0; }
      5 -(void)setProp:(int)p {}
      6 +(instancetype)s1 { return 0; }
      7 -(instancetype)initWithFoo:(NSString*)foo 
      8 {
      9   self = [super init];
     10   if (self) {
     11   }
     12   return self;
     13 }
     14 @end
     15