Skip to content

Instantly share code, notes, and snippets.

@draftcode
Created December 2, 2011 18:26
Show Gist options
  • Select an option

  • Save draftcode/1424291 to your computer and use it in GitHub Desktop.

Select an option

Save draftcode/1424291 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
@class A;
@protocol P
- (A*)f;
@end
@interface A : NSObject <P>
- (A*)f;
@end
@implementation A
- (A*)f {
return nil;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment