#import struct MyStruct4C { char a, b, c, d; }; typedef id (^MyBlock)(void); @protocol TestProtocol - (BOOL)testProtocolFlag; - (void)setTestProtocolFlag:(BOOL)testFlag; @end @protocol TestConformsToProtocol @required - (int)requiredMethod1; - (int)requiredMethod2; @optional - (int)optionalMethod3; @end @interface TestMethod : NSObject { BOOL _testProtocolFlag; } - (CGSize)methodReturningCGSize; - (CGRect)methodReturningCGRect; + (BOOL)testMethodReturningCGSize:(TestMethod *)testMethod; + (BOOL)testMethodReturningCGRect:(TestMethod *)testMethod; + (BOOL)testMethodAcceptingUIInterfaceOrientation:(UIInterfaceOrientation)orientation; + (BOOL)testMethodAcceptingUIEdgeInsets:(UIEdgeInsets)insets; + (id)testMethodCallingBlock:(MyBlock)block; + (BOOL)testMethodAcceptingCFType:(CFStringRef)cfstring; + (BOOL)testMethodAcceptingMyStruct4C:(struct MyStruct4C)s; + (BOOL)testMethodAcceptingMyStruct4C:(struct MyStruct4C)s another:(struct MyStruct4C)s2; + (BOOL)testMethodAcceptingMyStruct4CValue:(NSValue *)val; + (BOOL)testValueForKey:(Class)klass expected:(id)expected; + (int)testPointerToStrings:(char **)strs length:(int)len; - (int)methodReturningLargeInt; - (id)methodSendingNew:(Class)klass; + (BOOL)testConformsToProtocol:(id )obj; @end @interface TestIterator : NSObject @end static inline int TestInlineFunction(int x, int y, int z) { return x + y + z; } extern int lowerCaseConstant; @interface lowerCaseClass : NSObject @end