Skip to content

Instantly share code, notes, and snippets.

@ddb
Created February 10, 2011 17:16
Show Gist options
  • Save ddb/820910 to your computer and use it in GitHub Desktop.
Save ddb/820910 to your computer and use it in GitHub Desktop.
These method declarations make my head hurt. These are from a sample project for an app that just showed up in the dev tools section of the mac app store -- note that you can use bare colons in method names. I did not know that.
@interface WebServiceHelper : NSObject {
}
+(NSURLRequest *) generateWebServiceURLRequest : (NSString *) url: (NSString *) methodName: (NSArray *) keys: (NSArray *) objects;
+(NSURL *) generateWebServiceHTTPGetURL : (NSString *) url: (NSString *) methodName: (NSArray *) keys: (NSArray *) objects;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment