Skip to content

Commit

Permalink
Merge pull request instructure#21 from johnhaitas/master
Browse files Browse the repository at this point in the history
XCode 5 warnings
  • Loading branch information
bjhomer committed Jun 27, 2013
2 parents 51ac9ab + dae5227 commit fdc9e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CKRefreshControl/CKRefreshControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ + (Class) class
+ (id)appearance
{
if (![[UIRefreshControl class] isSubclassOfClass:[CKRefreshControl class]])
return [UIRefreshControl appearance];
return (id)[UIRefreshControl appearance];

if ([self isEqual:[UIRefreshControl class]])
return [CKRefreshControl appearance];
Expand All @@ -413,7 +413,7 @@ + (id)appearanceWhenContainedIn:(Class<UIAppearanceContainer>)ContainerClass, ..
va_end(list);

if (![[UIRefreshControl class] isSubclassOfClass:[CKRefreshControl class]])
return [UIRefreshControl appearanceWhenContainedIn:ContainerClass, classes[0], classes[1], classes[2], classes[3], classes[4], classes[5], classes[6], classes[7], classes[8], classes[9], nil];
return (id)[UIRefreshControl appearanceWhenContainedIn:ContainerClass, classes[0], classes[1], classes[2], classes[3], classes[4], classes[5], classes[6], classes[7], classes[8], classes[9], nil];

if ([self isEqual:[UIRefreshControl class]])
return [CKRefreshControl appearanceWhenContainedIn:ContainerClass, classes[0], classes[1], classes[2], classes[3], classes[4], classes[5], classes[6], classes[7], classes[8], classes[9], nil];
Expand Down

0 comments on commit fdc9e5f

Please sign in to comment.