FunkyFilter
@interface FunkyFilter : NSObject
This is a collection of methods to provide filter predicate helpers
-
An equality predicate telling that the object is equal to another one
Declaration
Objective-C
+ (FunkyFilterPredicate)equalTo:(id)object;Swift
class func equal(to object: Any!) -> Any!Parameters
objectThe other object to compare to
Return Value
A predicate to provide for boolean utility methods, like filter and contains
-
A predicate telling that the object is a subclass (or its class is equal to) the provided class
Declaration
Objective-C
+ (FunkyFilterPredicate)isKindOfClass:(Class)objectClass;Swift
class func isKind(of objectClass: AnyClass!) -> Any!Parameters
objectClassThe class to check
Return Value
A predicate to provide for boolean utility methods, like filter and contains
-
A predicate telling that the object’s class is equal to the provided class
Declaration
Objective-C
+ (FunkyFilterPredicate)isMemberOfClass:(Class)objectClass;Swift
class func isMember(of objectClass: AnyClass!) -> Any!Parameters
objectClassThe class to check
Return Value
A predicate to provide for boolean utility methods, like filter and contains
-
A predicate telling that the object responds to the given selector
Declaration
Objective-C
+ (FunkyFilterPredicate)respondsToSelector:(SEL)selector;Swift
class func responds(to selector: Selector!) -> Any!Parameters
selectorThe selector to respond to
Return Value
A predicate to provide for boolean utility methods, like filter and contains
View on GitHub
Install in Dash
FunkyFilter Class Reference