src/UISpec+UISpecRunner.m in uispecrunner-0.2.3 vs src/UISpec+UISpecRunner.m in uispecrunner-0.2.4
- old
+ new
@@ -4,10 +4,20 @@
//
// Created by Blake Watters on 7/15/10.
// Copyright 2010 Two Toasters. All rights reserved.
//
+#import <objc/runtime.h>
#import "UISpec+UISpecRunner.h"
+
+@interface UISpec ()
+
+/**
+ * Returns YES when a class implement the UISpec protocol
+ */
++(BOOL)isASpec:(Class)class;
+
+@end
@implementation UISpec (UISpecRunner)
+(BOOL)class:(Class)class conformsToProtocol:(Protocol *)protocol {
while (class) {