mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Use [self respondsToSelector] instead of class_respondsToSelector
This commit is contained in:
committed by
Alexander Ljungberg
parent
2f51358ea0
commit
ae47ba78cd
@@ -141,7 +141,7 @@ var ItemSizes = { },
|
||||
count = [methods count],
|
||||
excludes = [];
|
||||
|
||||
if (class_respondsToSelector(self, @selector(themeShowcaseExcludes)))
|
||||
if ([self respondsToSelector:@selector(themeShowcaseExcludes)])
|
||||
excludes = [self themeShowcaseExcludes];
|
||||
|
||||
for (; index < excludes.length; ++index)
|
||||
|
||||
Reference in New Issue
Block a user