Updated some older code to match the coding style
Showing
2 changed files
with
3 additions
and
6 deletions
@@ -133,8 +133,7 @@ static char operationKey; | @@ -133,8 +133,7 @@ static char operationKey; | ||
133 | } | 133 | } |
134 | } | 134 | } |
135 | 135 | ||
136 | -- (NSMutableDictionary *)imageURLStorage; | ||
137 | -{ | 136 | +- (NSMutableDictionary *)imageURLStorage { |
138 | NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey); | 137 | NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey); |
139 | if (!storage) | 138 | if (!storage) |
140 | { | 139 | { |
@@ -72,13 +72,11 @@ static char operationArrayKey; | @@ -72,13 +72,11 @@ static char operationArrayKey; | ||
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | -- (NSURL *)imageURL; | ||
76 | -{ | 75 | +- (NSURL *)imageURL { |
77 | return objc_getAssociatedObject(self, &imageURLKey); | 76 | return objc_getAssociatedObject(self, &imageURLKey); |
78 | } | 77 | } |
79 | 78 | ||
80 | -- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs | ||
81 | -{ | 79 | +- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs { |
82 | [self cancelCurrentArrayLoad]; | 80 | [self cancelCurrentArrayLoad]; |
83 | __weak UIImageView *wself = self; | 81 | __weak UIImageView *wself = self; |
84 | 82 |
-
Please register or login to post a comment