Updated some older code to match the coding style

This commit is contained in:
Bogdan Poplauschi 2014-06-19 21:58:20 +03:00
parent ea663b9602
commit e116aa5ce0
2 changed files with 3 additions and 6 deletions

View File

@ -133,8 +133,7 @@ static char operationKey;
} }
} }
- (NSMutableDictionary *)imageURLStorage; - (NSMutableDictionary *)imageURLStorage {
{
NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey); NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey);
if (!storage) if (!storage)
{ {

View File

@ -72,13 +72,11 @@ static char operationArrayKey;
} }
} }
- (NSURL *)imageURL; - (NSURL *)imageURL {
{
return objc_getAssociatedObject(self, &imageURLKey); return objc_getAssociatedObject(self, &imageURLKey);
} }
- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs - (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs {
{
[self cancelCurrentArrayLoad]; [self cancelCurrentArrayLoad];
__weak UIImageView *wself = self; __weak UIImageView *wself = self;