Conform to coding style

This commit is contained in:
Klaas Pieter Annema 2013-12-03 16:41:00 -05:00
parent b9389350cb
commit 1ac6b92d9d
1 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,8 @@ static char operationKey;
{
NSURL *url = self.imageURLStorage[@(self.state)];
if (!url) {
if (!url)
{
url = self.imageURLStorage[@(UIControlStateNormal)];
}
@ -134,7 +135,8 @@ static char operationKey;
- (NSMutableDictionary *)imageURLStorage;
{
NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey);
if (!storage) {
if (!storage)
{
storage = [NSMutableDictionary dictionary];
objc_setAssociatedObject(self, &imageURLStorageKey, storage, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}