Skip to content
Browse files

Coding standard cleanup

  • Loading branch information...
1 parent 744c548 commit 140ec0615ce7eb41c30c014151536f2d4c634b63 Magnus Ernstsson committed Oct 22, 2010
Showing with 5 additions and 5 deletions.
  1. +3 −3 Impl/GravatarUIImageFactory.m
  2. +1 −1 Interface/GravatarService.h
  3. +1 −1 Interface/GravatarUIImageFactory.h
View
6 Impl/GravatarUIImageFactory.m
@@ -28,17 +28,17 @@ +(NSString *)md5:(NSString *)str {
}
-(GravatarUIImageFactory *) initWithGravatarDelegate:
-(id<GravatarServiceDelegate>) newDelegate {
+(id<GravatarServiceDelegate>)newDelegate {
- if (self = [super init]){
+ if (self = [super init]) {
self.delegate = newDelegate;
}
return self;
}
+(GravatarUIImageFactory *)gravatarUIImageFactoryWithDelegate:
-(id<GravatarServiceDelegate>) delegate {
+(id<GravatarServiceDelegate>)delegate {
return [[[GravatarUIImageFactory alloc]
initWithGravatarDelegate:delegate] autorelease];
View
2 Interface/GravatarService.h
@@ -9,7 +9,7 @@
#import <Foundation/Foundation.h>
-@protocol GravatarService
+@protocol GravatarService <NSObject>
-(void)cancelRequest;
View
2 Interface/GravatarUIImageFactory.h
@@ -22,7 +22,7 @@
@property (retain) NSURLConnection *connection;
+(GravatarUIImageFactory *)gravatarUIImageFactoryWithDelegate:
-(id<GravatarServiceDelegate>) delegate;
+(id<GravatarServiceDelegate>)delegate;
-(void)requestUIImageByGravatarId:(NSString *)gravatarId size:(NSInteger)size;

0 comments on commit 140ec06

Please sign in to comment.
Something went wrong with that request. Please try again.