1 #import <Foundation/Foundation.h>
3 @interface Foo : NSObject
4 +(void) doSomethingWithString: (NSString *) string;
5 -(void) doSomethingWithNothing;
9 +(void) doSomethingWithString: (NSString *) string
11 NSLog (@"String is: %@.", string); // Set breakpoint here.
14 +(int) doSomethingElseWithString: (NSString *) string
16 NSLog (@"String is still: %@.", string);
17 return [string length];
20 -(void) doSomethingWithNothing
27 [Foo doSomethingWithString: @"Some string I have in mind."];