mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Use [self respondsToSelector] instead of class_respondsToSelector
This commit is contained in:
1 parent
2f51358ea0
commit
ae47ba78cd
1 file changed
+1
-1
@@ -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